diff --git a/labware-library/src/components/App/index.tsx b/labware-library/src/components/App/index.tsx index ebdea67358d..df1a3a4b96c 100644 --- a/labware-library/src/components/App/index.tsx +++ b/labware-library/src/components/App/index.tsx @@ -1,9 +1,10 @@ // main application wrapper component import { useRef, useEffect } from 'react' import cx from 'classnames' -import { useLocation } from 'react-router-dom' +import { Navigate, Route, Routes, useLocation } from 'react-router-dom' import { DefinitionRoute } from '../../definitions' import { useFilters } from '../../filters' +import { getPublicPath } from '../../public-path' import { Nav, Breadcrumbs } from '../Nav' import { Sidebar } from '../Sidebar' import { Page } from './Page' @@ -50,5 +51,16 @@ export function AppComponent(props: DefinitionRouteRenderProps): JSX.Element { } export function App(): JSX.Element { - return } /> + return ( + + } /> + } + /> + } /> + } /> + + ) }