diff --git a/ui/src/App.tsx b/ui/src/App.tsx index 42a2c9e6..e11efd33 100644 --- a/ui/src/App.tsx +++ b/ui/src/App.tsx @@ -33,15 +33,23 @@ const theme = createTheme({ }, }); -function NormalLayout({ children }: any) { +type NormalLayoutProps = { + currentPage?: string | null; + children: React.ReactNode; +}; + +const NormalLayout: React.FC = ({ + currentPage, + children, +}) => { return ( -
+
{children} {/*