busify
busify copied to clipboard
Feat: Add AdminProtected Route
- This PR fixes or fixes part of #50
- This PR does the following: It adds AdminProtectedRoute to admin Dashboard which redirect the user to homePage when the user is not admin.
Essential Checklist
- [ ] The PR title starts with "Fix #bugnum: ", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
- [X] "Allow edits from maintainers" is checked. (See here for instructions on how to enable it.)
- [X] The PR is made from a branch that's not called "main/master".
@parthksingh1 Any updates?