eleven-solutions-common-website-unique-web 4.0.10 → 4.0.11

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.
@@ -245,7 +245,7 @@ const TaxonomyForm = () => {
245
245
  alert("Multiple taxonomies added successfully");
246
246
  const response = yield fetchTaxonomiessApi();
247
247
  // const filteredTaxonomies = response.filter(
248
- const filteredTaxonomies = response.filter((taxonomy) => taxonomy.type === type);
248
+ const filteredTaxonomies = response.filter((taxonomy) => taxonomy.type === inputType);
249
249
  setSimilarTaxonomies(filteredTaxonomies);
250
250
  }
251
251
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleven-solutions-common-website-unique-web",
3
- "version": "4.0.10",
3
+ "version": "4.0.11",
4
4
  "main": "./dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -304,7 +304,7 @@ const TaxonomyForm = () => {
304
304
  const response = await fetchTaxonomiessApi();
305
305
  // const filteredTaxonomies = response.filter(
306
306
  const filteredTaxonomies = (response as { type: string }[]).filter(
307
- (taxonomy: { type: string }) => taxonomy.type === type
307
+ (taxonomy: { type: string }) => taxonomy.type === inputType
308
308
  );
309
309
  setSimilarTaxonomies(filteredTaxonomies);
310
310
  } catch (error) {