diff --git a/frontend/src/components/Breadcrumbs.jsx b/frontend/src/components/Breadcrumbs.jsx index 98926cc..b50770e 100644 --- a/frontend/src/components/Breadcrumbs.jsx +++ b/frontend/src/components/Breadcrumbs.jsx @@ -6,6 +6,7 @@ export const Breadcrumbs = () => { const location = useLocation(); const [breadcrumbLabels, setBreadcrumbLabels] = useState({}); const pathnames = location.pathname.split('/').filter(x => x); + const [error, setError] = useState(null); const fetchModelInfo = async () => { const response = await fetch(API_BASE_URL + `/model-info`); diff --git a/frontend/src/components/Header.jsx b/frontend/src/components/Header.jsx index c6cbbec..2a7cb22 100644 --- a/frontend/src/components/Header.jsx +++ b/frontend/src/components/Header.jsx @@ -1,10 +1,13 @@ -const Header = () => { +import React from "react"; +import {Breadcrumbs} from "./Breadcrumbs"; +import {ThemeSwitcher} from "./ThemeSwitcher"; + +export const Header = () => { return ( -
Stuff goes here
-