Skip to content

Commit

Permalink
loading indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
gsaivinay committed Mar 28, 2024
1 parent eb51b7c commit 47c69f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function Dashboard() {
</main>
</div>
</div>
{!isLoading && (
{isLoading && (
<div className="max-w-dvw fixed inset-0 z-40 m-auto flex h-screen max-h-dvh w-dvw items-center justify-center text-secondary-foreground backdrop-blur-sm">
<span className="rounded-lg backdrop-blur-3xl shadow-primary shadow-[0_0_16px_0px_rgba(0,0,0,0),_0_2px_4px_-2px_rgb(0,0,0,0.1)] p-2">
<LoaderCircle className="z-50 size-16 animate-spin" />
Expand Down

0 comments on commit 47c69f3

Please sign in to comment.