mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-09 22:21:49 +02:00
Add loading state
This commit is contained in:
parent
8b8aceb7ec
commit
3a74e8a56d
8 changed files with 32 additions and 4 deletions
5
apps/web/src/app/[locale]/(admin)/events/loading.tsx
Normal file
5
apps/web/src/app/[locale]/(admin)/events/loading.tsx
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import { Spinner } from "@/components/spinner";
|
||||||
|
|
||||||
|
export default function Loading() {
|
||||||
|
return <Spinner />;
|
||||||
|
}
|
5
apps/web/src/app/[locale]/(admin)/polls/loading.tsx
Normal file
5
apps/web/src/app/[locale]/(admin)/polls/loading.tsx
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import { Spinner } from "@/components/spinner";
|
||||||
|
|
||||||
|
export default function Loading() {
|
||||||
|
return <Spinner />;
|
||||||
|
}
|
|
@ -1,3 +1,5 @@
|
||||||
|
import { Spinner } from "@/components/spinner";
|
||||||
|
|
||||||
export default function Loading() {
|
export default function Loading() {
|
||||||
return null;
|
return <Spinner />;
|
||||||
}
|
}
|
||||||
|
|
5
apps/web/src/app/[locale]/(admin)/settings/loading.tsx
Normal file
5
apps/web/src/app/[locale]/(admin)/settings/loading.tsx
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import { Spinner } from "@/components/spinner";
|
||||||
|
|
||||||
|
export default function Loading() {
|
||||||
|
return <Spinner />;
|
||||||
|
}
|
|
@ -1,3 +1,5 @@
|
||||||
|
import { Spinner } from "@/components/spinner";
|
||||||
|
|
||||||
export default function Loading() {
|
export default function Loading() {
|
||||||
return null;
|
return <Spinner />;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
import { Spinner } from "@/components/spinner";
|
||||||
|
|
||||||
export default function Loading() {
|
export default function Loading() {
|
||||||
return null;
|
return <Spinner />;
|
||||||
}
|
}
|
||||||
|
|
5
apps/web/src/app/[locale]/loading.tsx
Normal file
5
apps/web/src/app/[locale]/loading.tsx
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import { Spinner } from "@/components/spinner";
|
||||||
|
|
||||||
|
export default function Loading() {
|
||||||
|
return <Spinner />;
|
||||||
|
}
|
|
@ -1,3 +1,5 @@
|
||||||
|
import { Spinner } from "@/components/spinner";
|
||||||
|
|
||||||
export default function Loading() {
|
export default function Loading() {
|
||||||
return null;
|
return <Spinner />;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue