docs: change Dashboard component to async for session verification (#81880)
## Improving Documentation
Updated the `Dashboard` component to be an `async` function to properly
`await` the session verification process. This change ensures that the
user role is retrieved correctly from `session` before rendering the
component.
Co-authored-by:
Joseph <joseph.chamochumbi@vercel.com>
Showing
Please
register
or
sign in
to comment