eleven-solutions-common-website-unique-web 2.0.0 → 2.0.2
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.
@@ -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
@@ -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
|