diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 016b702..09cba57 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -6,6 +6,7 @@ import CommunityPage from "./pages/communityPage/communityPage"; import Layout from "./components/Layout"; import LoginPage from "./pages/loginPage/loginPage"; import AccountPage from "./pages/accountPage/accountPage"; +import NotFoundPage from "./pages/notFoundPage/notFoundPage"; import { Routes, Route, useLocation, useParams } from "react-router"; import { useSelector } from "react-redux"; import type { RootState } from "./state/store"; @@ -34,10 +35,7 @@ function App() { } /> } /> } /> - 404 - Page not found

} - /> + } /> ); diff --git a/frontend/src/components/AllPartsPreview.tsx b/frontend/src/components/AllPartsPreview.tsx index c9d7ca0..52503c1 100644 --- a/frontend/src/components/AllPartsPreview.tsx +++ b/frontend/src/components/AllPartsPreview.tsx @@ -256,7 +256,14 @@ function PartsResults({ {loading && ( -

+

Loading parts...

)} @@ -270,22 +277,21 @@ function PartsResults({ -
{children}
-