frontend indentation set to 2

This commit is contained in:
Oliver Bryan
2026-01-21 17:47:04 +00:00
parent 70504b3056
commit 5a5e40659c
117 changed files with 7548 additions and 7785 deletions

View File

@@ -1,13 +1,11 @@
import { Spinner } from "@/components/ui/spinner";
export default function Loading({ message, children }: { message?: string; children?: React.ReactNode }) {
return (
<div className="flex flex-col items-center justify-center gap-4 w-full h-[100vh]">
<Spinner className="size-6" />
{message && (
<span className="text-xs px-2 py-1 border-2 border-input border-dashed">{message}</span>
)}
{children}
</div>
);
return (
<div className="flex flex-col items-center justify-center gap-4 w-full h-[100vh]">
<Spinner className="size-6" />
{message && <span className="text-xs px-2 py-1 border-2 border-input border-dashed">{message}</span>}
{children}
</div>
);
}