Skip to content

Commit

Permalink
fix(loader): fix loading state on smaller devices
Browse files Browse the repository at this point in the history
  • Loading branch information
aaryanporwal authored and edlerd committed Jun 7, 2023
1 parent aa4efc9 commit ba93c34
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ const HOME_REDIRECT_PATHS = ["/", "/ui", "/ui/project"];

const App: FC = () => {
return (
<Suspense fallback={<Loader />}>
<Suspense
fallback={
<main className="l-main">
<Loader />
</main>
}
>
<Routes>
{HOME_REDIRECT_PATHS.map((path) => (
<Route
Expand Down

0 comments on commit ba93c34

Please sign in to comment.