Commit Graph

4 Commits

Author SHA1 Message Date
Tom Russell
187dc20baa Handle isLoading state in private routes
Additional check for isLoading to handle
redirect after sign-up.
2022-07-22 16:05:20 +01:00
Tom Russell
e478e182a5 More robust check for location state
Testing 'string' in var fails if var is
not an object, throwing uncaught
error and leaving a white screen on login.
2022-07-22 15:52:16 +01:00
Tom Russell
4e40b31bac Fix for compilation error
ERROR in src/frontend/route.tsx:36:25
TS2339: Property 'from' does not exist on type '{}'.
2022-02-02 15:06:57 +00:00
Maciej Ziarkowski
3bb01f6a11 Move user authentication to context and hooks 2021-02-08 16:03:30 +00:00