Update @react-aria/utils to fix navigation bug in side menu (forced page reload)

This commit is contained in:
grimsi
2025-03-29 23:24:53 +01:00
parent d874d593de
commit 1afa98fa33
4 changed files with 7 additions and 815 deletions
-810
View File
File diff suppressed because it is too large Load Diff
+5 -2
View File
@@ -83,6 +83,7 @@
"workbox-precaching": "7.3.0"
},
"overrides": {
"@react-aria/utils": "^3.28.1",
"classnames": "$classnames",
"react": "$react",
"react-dom": "$react-dom",
@@ -120,7 +121,9 @@
"@vaadin/vaadin-themable-mixin": "$@vaadin/vaadin-themable-mixin",
"@vaadin/vaadin-lumo-styles": "$@vaadin/vaadin-lumo-styles",
"@vaadin/vaadin-material-styles": "$@vaadin/vaadin-material-styles",
"@react-types/shared": "$@react-types/shared"
"@react-types/shared": "$@react-types/shared",
"@react-stately/data": "$@react-stately/data",
"react-aria-components": "$react-aria-components"
},
"vaadin": {
"dependencies": {
@@ -180,6 +183,6 @@
"workbox-core": "7.3.0",
"workbox-precaching": "7.3.0"
},
"hash": "3f65776fc466d9436093cb2be8081f16d86234693e52c66dcc7faf5ad0bfbee6"
"hash": "081663e5e6c1316ae1baa055271a5fe7aebc8015d2310320fd58e3e20c1dd342"
}
}
@@ -22,7 +22,7 @@ export default function ProfileMenu() {
{
label: "My Profile",
icon: <User/>,
onClick: () => navigate('/settings/profile')
onClick: () => navigate("/settings/profile")
},
{
label: "Administration",
@@ -34,5 +34,4 @@ const menuItems: MenuItem[] = [
}
]
export const AdministrationView = withSideMenu(menuItems);
export default AdministrationView;
export const AdministrationView = withSideMenu(menuItems);