eleven-solutions-common-website-unique-web 21.0.20 → 21.0.21

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.
@@ -224,6 +224,8 @@ const TaxonomyForm = ({ url }) => {
224
224
  console.error("Error updating Taxonomy:", error);
225
225
  }
226
226
  setIsModalOpen(false);
227
+ setNewCode("");
228
+ setNewValue("");
227
229
  const response = yield fetchTaxonomiessApi(url);
228
230
  const filteredTaxonomies = response.filter((taxonomy) => taxonomy.type === type);
229
231
  setSimilarTaxonomies(filteredTaxonomies);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleven-solutions-common-website-unique-web",
3
- "version": "21.0.20",
3
+ "version": "21.0.21",
4
4
  "main": "./dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -298,6 +298,8 @@ const TaxonomyForm = ({ url }: TaxionomyFormProps) => {
298
298
  console.error("Error updating Taxonomy:", error);
299
299
  }
300
300
  setIsModalOpen(false);
301
+ setNewCode("");
302
+ setNewValue("");
301
303
  const response = await fetchTaxonomiessApi(url);
302
304
  const filteredTaxonomies = (response as { type: string }[]).filter(
303
305
  (taxonomy: { type: string }) => taxonomy.type === type