Skip to content

Commit 366f09a

Browse files
committed
fix(home): remove loading state causing rapid reloads
1 parent 3d916bb commit 366f09a

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

packages/webapp/src/pages/index.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
import { GetServerSidePropsContext } from 'next'
2-
import { useAuthStore } from '@stores'
3-
import Loading from '@components/ui/Loading'
42
import HomePage from '@components/pages/home/HomePage'
53
import { getHostname } from '../utils'
64

75
function Home({ hostname }: { hostname: string }) {
8-
const authLoading = useAuthStore((state) => state.loading)
9-
10-
if (authLoading) return <Loading size="lg" />
11-
126
return <HomePage hostname={hostname} />
137
}
148

0 commit comments

Comments
 (0)