-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue/162 - Prevent access to calendar and settings page and redirect when not logged in closes #162 #237
Conversation
There's just one remaining linting issue I haven't been able to change so far. It says "React Hook useEffect has a missing dependency: 'setTheme'.", but when I import setTheme, the import doesn't get used. |
So I looked into it, and it appears that the code causing the build to fail is:
This little code snippet is from |
Cheers Matt, I've made that change and works as expected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work guys. Well done making the PrivateRoute reusable component. Some suggestions but non blocking.
af6c669
to
229649a
Compare
… when not logged in
229649a
to
db8f01f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks for addressing the comments @AlexanderTheGrape
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice work @AlexanderTheGrape!
… when not logged in (se701g2#237)
issue/162 - Prevent access to calendar and settings page and redirect when not logged in