diff options
Diffstat (limited to 'src/index.tsx')
| -rwxr-xr-x | src/index.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/index.tsx b/src/index.tsx index a1f4bc5..b43e86a 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -4,9 +4,9 @@ import { DialogButton, Menu, MenuItem, + Navigation, PanelSection, PanelSectionRow, - Router, ServerAPI, showContextMenu, staticClasses, @@ -67,8 +67,8 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({serverAPI}) => { <ButtonItem layout="below" onClick={() => { - Router.CloseSideMenus(); - Router.Navigate("/decky-plugin-test"); + Navigation.CloseSideMenus(); + Navigation.Navigate("/decky-plugin-test"); }} > Router @@ -82,7 +82,7 @@ const DeckyPluginRouterTest: VFC = () => { return ( <div style={{ marginTop: "50px", color: "white" }}> Hello World! - <DialogButton onClick={() => Router.NavigateToLibraryTab()}> + <DialogButton onClick={() => Navigation.NavigateToLibraryTab()}> Go to Library </DialogButton> </div> |
