From ec649d1911c3a5ee147db052468585931e77b865 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 29 Jun 2023 09:04:09 -0400 Subject: [PATCH] Fixing site setup. Fixes #1694 (#1697) --- src/shared/components/home/setup.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/shared/components/home/setup.tsx b/src/shared/components/home/setup.tsx index bed12620..966e6d49 100644 --- a/src/shared/components/home/setup.tsx +++ b/src/shared/components/home/setup.tsx @@ -205,9 +205,7 @@ export class Setup extends Component { const data = i.state.registerRes.data; UserService.Instance.login(data); - if (UserService.Instance.jwtInfo) { - i.setState({ doneRegisteringUser: true }); - } + i.setState({ doneRegisteringUser: true }); } } }