summaryrefslogtreecommitdiff
path: root/frontend/src/components/TitleView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/TitleView.tsx')
-rw-r--r--frontend/src/components/TitleView.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/frontend/src/components/TitleView.tsx b/frontend/src/components/TitleView.tsx
index 8b45aae4..0cb82b7f 100644
--- a/frontend/src/components/TitleView.tsx
+++ b/frontend/src/components/TitleView.tsx
@@ -1,4 +1,4 @@
-import { DialogButton, Focusable, Router, staticClasses } from '@decky/ui';
+import { DialogButton, Focusable, Navigation, staticClasses } from '@decky/ui';
import { CSSProperties, FC } from 'react';
import { useTranslation } from 'react-i18next';
import { BsGearFill } from 'react-icons/bs';
@@ -19,13 +19,13 @@ const TitleView: FC = () => {
const { t } = useTranslation();
const onSettingsClick = () => {
- Router.CloseSideMenus();
- Router.Navigate('/decky/settings');
+ Navigation.Navigate('/decky/settings');
+ Navigation.CloseSideMenus();
};
const onStoreClick = () => {
- Router.CloseSideMenus();
- Router.Navigate('/decky/store');
+ Navigation.Navigate('/decky/store');
+ Navigation.CloseSideMenus();
};
if (activePlugin === null) {