]> Untitled Git - lemmy-ui.git/commitdiff
Fixing site setup. Fixes #1694 (#1697)
authorDessalines <dessalines@users.noreply.github.com>
Thu, 29 Jun 2023 13:04:09 +0000 (09:04 -0400)
committerGitHub <noreply@github.com>
Thu, 29 Jun 2023 13:04:09 +0000 (09:04 -0400)
src/shared/components/home/setup.tsx

index bed1262038eb2a098724e07405c0ece852e1a520..966e6d492fc5e202df2c9abeeb1094b89f5260f2 100644 (file)
@@ -205,9 +205,7 @@ export class Setup extends Component<any, State> {
         const data = i.state.registerRes.data;
 
         UserService.Instance.login(data);
-        if (UserService.Instance.jwtInfo) {
-          i.setState({ doneRegisteringUser: true });
-        }
+        i.setState({ doneRegisteringUser: true });
       }
     }
   }