kKar1503 / project-inc-siwma-1

Project Inc AY22/23 Project for Singapore Iron Works Merchant Association
9 stars 0 forks source link

Auth Guard #120

Closed Acrylic125 closed 1 year ago

Acrylic125 commented 1 year ago

Auth Guard page protection.

Description

A component to protect pages.

How does it work? In _app.jsx, we wrap the entire app using an AuthGuard component. This component takes in an authGuard 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

github-actions[bot] commented 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.

github-actions[bot] commented 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.

github-actions[bot] commented 1 year ago

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.