diff options
author | Joseph Ditton <jditton.atomic@gmail.com> | 2021-11-30 15:40:07 -0700 |
---|---|---|
committer | Joseph Ditton <jditton.atomic@gmail.com> | 2021-11-30 15:40:07 -0700 |
commit | 694f2318bd2eaf526d8714c56774022a15beae04 (patch) | |
tree | edaed14ca7d7a52e8a7a8bcdb7483d1a34bd334a /client/app.jsx | |
parent | 8d0b32f8dfe45291426e58f6bf20cffac8dab6e7 (diff) | |
download | locchat-694f2318bd2eaf526d8714c56774022a15beae04.tar.gz locchat-694f2318bd2eaf526d8714c56774022a15beae04.zip |
adds setup for roles
Diffstat (limited to 'client/app.jsx')
-rw-r--r-- | client/app.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/app.jsx b/client/app.jsx index a7de3cf..e1e4c03 100644 --- a/client/app.jsx +++ b/client/app.jsx @@ -26,6 +26,8 @@ export const App = () => { setLoading(false); }, []); + // before displaying anything try getting a token using cookies, + // can display a loading screen here if desired if (loading) return null; return ( |