Skip to content

Commit

Permalink
add: fall back element
Browse files Browse the repository at this point in the history
  • Loading branch information
debojitsaha committed Jan 7, 2024
1 parent 5eb06bf commit 6dda3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const router = createBrowserRouter(routes);
createRoot(document.getElementById("root")).render(
<React.StrictMode>
<App>
<RouterProvider router={router} />
<RouterProvider router={router} fallbackElement={<p>Loading...</p>} />
</App>
</React.StrictMode>
);

0 comments on commit 6dda3db

Please sign in to comment.