diff --git a/docs/docs/router.md b/docs/docs/router.md index 79d0098b90af..88bfb61a97d6 100644 --- a/docs/docs/router.md +++ b/docs/docs/router.md @@ -743,10 +743,8 @@ Let's say you have a dashboard area on your Redwood app, which can only be acces In order to display a loader while auth details are being retrieved you can add the `whileLoadingAuth` prop to your `PrivateSet` component: -```jsx -//Routes.js - - +```jsx title="Routes.jsx" +