eleven-solutions-common-website-unique-web 1.0.15 → 1.0.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -83,7 +83,7 @@ const UserForm = () => {
83
83
  yield addUserApi(userName, email, mobile, address, roleType);
84
84
  alert("User added successfully");
85
85
  }
86
- window.location.href = "/admin/user"; // Redirect using an <a> tag behavior
86
+ window.location.href = "/admin/user";
87
87
  }
88
88
  catch (error) {
89
89
  console.error("Error adding/updating User:", error);
@@ -5,9 +5,9 @@ export { default as Privacy } from "./footer/Privacy";
5
5
  export { default as Login } from "./login/Login";
6
6
  export { default as Header } from "./login/Header";
7
7
  export { default as Users } from "./admin/Users";
8
- export { default as UserForm } from "./admin/Users";
8
+ export { default as UserForm } from "./admin/UserForm";
9
9
  export { default as Taxionomies } from "./admin/Taxionomies";
10
- export { default as TaxonomyForm } from "./admin/Taxionomies";
10
+ export { default as TaxonomyForm } from "./admin/TaxonomyForm";
11
11
  export { default as AdminSideBar } from "./admin/Sidebar";
12
12
  export { default as Dashboard } from "./admin/Dashboard";
13
13
  export { registerApi, loginApi } from "./api/api";
@@ -6,9 +6,9 @@ export { default as Privacy } from "./footer/Privacy";
6
6
  export { default as Login } from "./login/Login";
7
7
  export { default as Header } from "./login/Header";
8
8
  export { default as Users } from "./admin/Users";
9
- export { default as UserForm } from "./admin/Users";
9
+ export { default as UserForm } from "./admin/UserForm";
10
10
  export { default as Taxionomies } from "./admin/Taxionomies";
11
- export { default as TaxonomyForm } from "./admin/Taxionomies";
11
+ export { default as TaxonomyForm } from "./admin/TaxonomyForm";
12
12
  export { default as AdminSideBar } from "./admin/Sidebar";
13
13
  export { default as Dashboard } from "./admin/Dashboard";
14
14
  export { registerApi, loginApi } from "./api/api";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleven-solutions-common-website-unique-web",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "main": "./dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -91,7 +91,7 @@ const UserForm = () => {
91
91
  await addUserApi(userName, email, mobile, address, roleType);
92
92
  alert("User added successfully");
93
93
  }
94
- window.location.href = "/admin/user"; // Redirect using an <a> tag behavior
94
+ window.location.href = "/admin/user";
95
95
  } catch (error) {
96
96
  console.error("Error adding/updating User:", error);
97
97
  alert("Failed to add/update User");
@@ -6,9 +6,9 @@ export { default as Privacy } from "./footer/Privacy";
6
6
  export { default as Login } from "./login/Login";
7
7
  export { default as Header } from "./login/Header";
8
8
  export { default as Users } from "./admin/Users";
9
- export { default as UserForm } from "./admin/Users";
9
+ export { default as UserForm } from "./admin/UserForm";
10
10
  export { default as Taxionomies } from "./admin/Taxionomies";
11
- export { default as TaxonomyForm } from "./admin/Taxionomies";
11
+ export { default as TaxonomyForm } from "./admin/TaxonomyForm";
12
12
  export { default as AdminSideBar } from "./admin/Sidebar";
13
13
  export { default as Dashboard } from "./admin/Dashboard";
14
14
  export { registerApi, loginApi } from "./api/api";