From: Dessalines Date: Thu, 29 Jun 2023 13:04:09 +0000 (-0400) Subject: Fixing site setup. Fixes #1694 (#1697) X-Git-Url: http://these/git/%7B%60https:/readmes/README.ja.md?a=commitdiff_plain;h=ec649d1911c3a5ee147db052468585931e77b865;p=lemmy-ui.git Fixing site setup. Fixes #1694 (#1697) --- diff --git a/src/shared/components/home/setup.tsx b/src/shared/components/home/setup.tsx index bed1262..966e6d4 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 }); } } }