eleven-solutions-common-website-unique-web 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,6 @@ function Users() {
5
5
  window.history.pushState({}, "", path);
6
6
  window.dispatchEvent(new PopStateEvent("popstate"));
7
7
  };
8
- return (_jsxs("div", { children: ["Users", _jsx("button", { type: "button", onClick: (event) => handleNavigation(event, "users/userform"), className: "flex items-center justify-center px-6 py-2 font-medium tracking-wide text-white capitalize transition-colors duration-300 transform bg-blue-600 rounded-lg hover:bg-blue-500 focus:outline-none focus:ring focus:ring-blue-300 focus:ring-opacity-80", children: "User" })] }));
8
+ return (_jsxs("div", { children: ["Users", _jsx("button", { type: "button", onClick: (event) => handleNavigation(event, "/admin/users/userform"), className: "flex items-center justify-center px-6 py-2 font-medium tracking-wide text-white capitalize transition-colors duration-300 transform bg-blue-600 rounded-lg hover:bg-blue-500 focus:outline-none focus:ring focus:ring-blue-300 focus:ring-opacity-80", children: "User" })] }));
9
9
  }
10
10
  export default Users;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleven-solutions-common-website-unique-web",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "main": "./dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -374,7 +374,7 @@ function Users() {
374
374
  Users
375
375
  <button
376
376
  type="button"
377
- onClick={(event) => handleNavigation(event, "users/userform")}
377
+ onClick={(event) => handleNavigation(event, "/admin/users/userform")}
378
378
  className="flex items-center justify-center px-6 py-2 font-medium tracking-wide text-white capitalize transition-colors duration-300 transform bg-blue-600 rounded-lg hover:bg-blue-500 focus:outline-none focus:ring focus:ring-blue-300 focus:ring-opacity-80"
379
379
  >
380
380
  User