code7-leia 0.1.129 → 0.1.132

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.
@@ -1367,8 +1367,7 @@ var FileArea = function FileArea() {
1367
1367
  var _useSharedProps = useSharedProps(),
1368
1368
  id = _useSharedProps.id,
1369
1369
  language = _useSharedProps.language,
1370
- propTags = _useSharedProps.propTags,
1371
- personas = _useSharedProps.personas;
1370
+ propTags = _useSharedProps.propTags;
1372
1371
  var _useState = React.useState([]),
1373
1372
  files = _useState[0],
1374
1373
  setFiles = _useState[1];
@@ -1412,7 +1411,9 @@ var FileArea = function FileArea() {
1412
1411
  value: tag
1413
1412
  };
1414
1413
  });
1415
- setOptionsPresset(options);
1414
+ if (options !== optionsPresset) {
1415
+ setOptionsPresset(options);
1416
+ }
1416
1417
  }, [tags]);
1417
1418
  React.useEffect(function () {
1418
1419
  if (!!initFiles) {
@@ -1554,7 +1555,10 @@ var FileArea = function FileArea() {
1554
1555
  propTags: {
1555
1556
  tags: []
1556
1557
  },
1557
- personas: personas
1558
+ personas: [{
1559
+ name: '',
1560
+ description: ''
1561
+ }]
1558
1562
  }, React__default.createElement(Container, null, renderFiles()));
1559
1563
  };
1560
1564
 
@@ -1704,7 +1708,10 @@ var TestArea = function TestArea() {
1704
1708
  propTags: {
1705
1709
  tags: []
1706
1710
  },
1707
- personas: personas
1711
+ personas: [{
1712
+ name: '',
1713
+ description: ''
1714
+ }]
1708
1715
  }, React__default.createElement(Container$3, null, returnTest()));
1709
1716
  };
1710
1717