Skip to content

Commit

Permalink
fix: show loader on homepage if user data not yet available
Browse files Browse the repository at this point in the history
  • Loading branch information
RaunoT committed Aug 23, 2024
1 parent 1e5bcff commit 1ecfb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/_components/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function Home({ settings, libraries }: Props) {
}
}, [searchParams])

if (isLoading) {
if (isLoading || status === 'loading') {
return <Loader />
}

Expand Down

0 comments on commit 1ecfb55

Please sign in to comment.