Skip to content

Commit

Permalink
fix(setup): page display when homepage is loading (#940)
Browse files Browse the repository at this point in the history
* fix: remove an unwanted display of the setup page while the homepage is loading

* fix: edit incorrect return type of setup page
  • Loading branch information
gauthier-th authored Aug 22, 2024
1 parent 32343f2 commit 7423bbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Setup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ const Setup = () => {
router,
]);

if (settings.currentSettings.initialized) return <></>;

return (
<div className="relative flex min-h-screen flex-col justify-center bg-gray-900 py-12">
<PageTitle title={intl.formatMessage(messages.setup)} />
Expand Down

0 comments on commit 7423bbb

Please sign in to comment.