code7-leia 0.1.127 → 0.1.129

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.
@@ -480,7 +480,7 @@ var enTranslation = {
480
480
  test: 'Test'
481
481
  },
482
482
  testArea: {
483
- description: 'bla bla bla bla bla',
483
+ description: 'Type a sentence to test artificial intelligence',
484
484
  typeSentence: 'Type a sentence',
485
485
  selectPersona: 'Select a Persona',
486
486
  selectPresset: 'Select a presset',
@@ -548,7 +548,7 @@ var ptTranslation = {
548
548
  test: 'Teste'
549
549
  },
550
550
  testArea: {
551
- description: 'bla bla bla bla bla',
551
+ description: 'Digite uma frase para testar a inteligência artificial.',
552
552
  typeSentence: 'Digite uma frase',
553
553
  selectPersona: 'Selecione uma Persona',
554
554
  selectPresset: 'Selecione uma predefinição',
@@ -616,7 +616,7 @@ var esTranslation = {
616
616
  test: 'Prueba'
617
617
  },
618
618
  testArea: {
619
- description: 'bla bla bla bla bla',
619
+ description: 'Escribe una frase para probar la inteligencia artificial.',
620
620
  typeSentence: 'Escribe una oración',
621
621
  selectPersona: 'Seleccionar una Persona',
622
622
  selectPresset: 'Seleccionar una preconfiguración',
@@ -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