From 29feb58d2f69895cc1dc892901f29d56b2b321ca Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 29 Jun 2023 08:49:45 -0400 Subject: [PATCH] Fixing site setup. Fixes #1694 --- 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 }); } } }