From 82cb4860e0b069f6feb259f7d68d78a65896dacc Mon Sep 17 00:00:00 2001 From: TrainDoctor Date: Sun, 4 Feb 2024 18:51:12 -0800 Subject: Update DFL and fix navigation --- src/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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}) => { { - Router.CloseSideMenus(); - Router.Navigate("/decky-plugin-test"); + Navigation.CloseSideMenus(); + Navigation.Navigate("/decky-plugin-test"); }} > Router @@ -82,7 +82,7 @@ const DeckyPluginRouterTest: VFC = () => { return (
Hello World! - Router.NavigateToLibraryTab()}> + Navigation.NavigateToLibraryTab()}> Go to Library
-- cgit v1.2.3