diff --git a/ui/src/App.tsx b/ui/src/App.tsx index 3f1418322..8a2540227 100644 --- a/ui/src/App.tsx +++ b/ui/src/App.tsx @@ -23,39 +23,27 @@ const router = createBrowserRouter([ children: [ { path: '/', - Component() { - return ; - }, + element: , }, { path: '/data/:catalog', - Component() { - return ; - }, + element: , }, { path: '/data/:catalog/:schema', - Component() { - return ; - }, + element: , }, { path: '/data/:catalog/:schema/:table', - Component() { - return ; - }, + element: , }, { path: '/volumes/:catalog/:schema/:volume', - Component() { - return ; - }, + element: , }, { path: '/functions/:catalog/:schema/:ucFunction', - Component() { - return ; - }, + element: , }, ], }, @@ -63,88 +51,85 @@ const router = createBrowserRouter([ function AppProvider() { const navigate = useNavigate(); - const queryClient = new QueryClient({ - defaultOptions: { queries: { staleTime: 1000 * 5 * 60 } }, - }); return ( - - - - {/* Header */} - -
navigate('/')}> - uc-logo-reverse -
- navigate('/'), - }, - ]} - style={{ flex: 1, minWidth: 0 }} - /> - - {/* Content */} - + + {/* Header */} + +
navigate('/')}> + uc-logo-reverse +
+ navigate('/'), + }, + ]} + style={{ flex: 1, minWidth: 0 }} + /> + + {/* Content */} + + {/* Left: Schema Browser */} +
- {/* Left: Schema Browser */} -
- -
+ +
- {/* Right: Main details content */} -
- -
-
- - - + {/* Right: Main details content */} +
+ +
+ + + ); } function App() { + const queryClient = new QueryClient({ + defaultOptions: { queries: { staleTime: 1000 * 5 * 60 } }, + }); + return ( - Loading...

} /> + + Loading...

} /> +
); }