code7-leia 0.1.127 → 0.1.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1432,13 +1432,6 @@ var FileArea = function FileArea() {
1432
1432
  if (modal) {
1433
1433
  setUploadFile(undefined);
1434
1434
  setPresset([]);
1435
- var tag = optionsPresset.map(function (tag) {
1436
- return {
1437
- label: tag,
1438
- value: tag
1439
- };
1440
- });
1441
- setOptionsPresset(tag);
1442
1435
  }
1443
1436
  setModal(!modal);
1444
1437
  };
@@ -1648,7 +1641,7 @@ var TestArea = function TestArea() {
1648
1641
  setPresset = _useState3[1];
1649
1642
  var dispatch = reactRedux.useDispatch();
1650
1643
  var tags = propTags ? propTags.tags : [];
1651
- var optionsPersona = personas.map(function (persona) {
1644
+ var optionsPersona = personas && personas.map(function (persona) {
1652
1645
  return {
1653
1646
  label: persona.name,
1654
1647
  value: persona.name