eleven-solutions-common-website-unique-web 1.0.35 → 2.0.0
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, "/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, "/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
|