eleven-solutions-common-website-unique-web 1.0.21 → 1.0.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -166,13 +166,11 @@ const TaxonomyForm = () => {
166
166
  handleFetchSimilarTaxonomies();
167
167
  }
168
168
  }, [type]);
169
- // Check if the current pathname matches "/taxonomy/taxonomyform"
170
169
  useEffect(() => {
171
170
  if (window.location.pathname === "/taxinomies/taxonomyform") {
172
171
  setIsSimilarTaxonomyOpen(true);
173
172
  }
174
173
  }, []);
175
- // Handle form submission
176
174
  const handleSubmit = (event) => __awaiter(void 0, void 0, void 0, function* () {
177
175
  event.preventDefault();
178
176
  if (!validateForm())
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleven-solutions-common-website-unique-web",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "main": "./dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -207,14 +207,12 @@ const TaxonomyForm = () => {
207
207
  }
208
208
  }, [type]);
209
209
 
210
- // Check if the current pathname matches "/taxonomy/taxonomyform"
211
210
  useEffect(() => {
212
211
  if (window.location.pathname === "/taxinomies/taxonomyform") {
213
212
  setIsSimilarTaxonomyOpen(true);
214
213
  }
215
214
  }, []);
216
215
 
217
- // Handle form submission
218
216
  const handleSubmit = async (event: React.MouseEvent<HTMLButtonElement>) => {
219
217
  event.preventDefault();
220
218
  if (!validateForm()) return;