Skip to content

Commit

Permalink
Remove fallbackElement since it didn't work; hope for the best
Browse files Browse the repository at this point in the history
  • Loading branch information
mathhulk committed Sep 24, 2023
1 parent 6ca9bd4 commit 5430efd
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions frontend/src/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import Catalog from './app/Catalog';
import Landing from './views/Landing';
import Error from './views/Error';
import Layout from 'components/Common/Layout';
import BTLoader from 'components/Common/BTLoader';

const Grades = () => import('./app/Grades');
const Enrollment = () => import('./app/Enrollment');
Expand Down Expand Up @@ -65,14 +64,5 @@ const router = createBrowserRouter([
]);

export default function Routes() {
return (
<RouterProvider
router={router}
fallbackElement={
<div className="viewport-app">
<BTLoader fill />
</div>
}
/>
);
return <RouterProvider router={router} />;
}

0 comments on commit 5430efd

Please sign in to comment.