Show session expired warning if the jwt token is expired

This commit is contained in:
Eduard Heimbuch
2020-08-07 08:49:02 +02:00
parent 9f8cde331b
commit 914f5eb4bb
9 changed files with 214 additions and 188 deletions

View File

@@ -73,7 +73,7 @@ class App extends Component<Props> {
let content;
const navigation = authenticated ? <PrimaryNavigation links={links} /> : "";
if (!authenticated) {
if (!authenticated && !loading) {
content = <Login />;
} else if (loading) {
content = <Loading />;