mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-28 09:46:39 +02:00
⚡️ Add loading screens
This commit is contained in:
parent
24558c26bd
commit
e6f2c9b929
7 changed files with 32 additions and 6 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 async function Loading() {
|
||||
return <Spinner />;
|
||||
}
|
5
apps/web/src/app/[locale]/(admin)/loading.tsx
Normal file
5
apps/web/src/app/[locale]/(admin)/loading.tsx
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { Spinner } from "@/components/spinner";
|
||||
|
||||
export default async 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 async function Loading() {
|
||||
return <Spinner />;
|
||||
}
|
|
@ -1,3 +1,5 @@
|
|||
export default function Loading() {
|
||||
return null;
|
||||
import { Spinner } from "@/components/spinner";
|
||||
|
||||
export default async function Loading() {
|
||||
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 async function Loading() {
|
||||
return <Spinner />;
|
||||
}
|
|
@ -1,3 +1,5 @@
|
|||
export default function Loading() {
|
||||
return null;
|
||||
import { Spinner } from "@/components/spinner";
|
||||
|
||||
export default async function Loading() {
|
||||
return <Spinner />;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
export default function Loading() {
|
||||
return null;
|
||||
import { Spinner } from "@/components/spinner";
|
||||
|
||||
export default async function Loading() {
|
||||
return <Spinner />;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue