diff --git a/web/src/App.tsx b/web/src/App.tsx index 813f48cc5f..7598e169bc 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -80,6 +80,25 @@ function RootRedirect() { return ; } +function UnknownRouteFallback({ pluginsLoading }: { pluginsLoading: boolean }) { + if (!pluginsLoading) { + return ; + } + + return ( +
+
+ + Loading dashboard plugins… +
+
+ ); +} + const CHAT_NAV_ITEM: NavItem = { path: "/chat", labelKey: "chat", @@ -582,7 +601,9 @@ export default function App() { ))} } + element={ + + } />