Closed Acrylic125 closed 1 year ago
This PR is stale because it has been open 1 day with no activity. Remove stale label or comment or this will be closed if it remains stale for 1 week.
This PR is stale because it has been open 1 day with no activity. Remove stale label or comment or this will be closed if it remains stale for 1 week.
This PR has been automatically closed because it received no activity for 1 week. If you think it was closed by accident, please leave a comment. Thank you.
Auth Guard page protection.
Description
A component to protect pages.
How does it work? In
_app.jsx
, we wrap the entire app using anAuthGuard
component. This component takes in anauthGuard
prop that determines whether a user requesting the page is allowed to see it.Types of Changes
Fixes
N/A
Notion Task Coverage
N/A
Checklist
fixes #number
. / There is no issue fix.