Files
sara-pervana c53fdb7d86
Some checks failed
checks-impure / test (pull_request) Successful in 27s
checks / test (pull_request) Failing after 2m18s
major changes in the layout and added most components
2023-11-21 23:46:32 +01:00

22 lines
553 B
TypeScript

"use client";
import { useAppState } from "@/components/hooks/useAppContext";
import { LoadingOverlay } from "@/components/join/loadingOverlay";
import Home from "./home/page";
export default function Dashboard() {
const { isLoading } = useAppState();
return isLoading ? (
<div className="grid h-full place-items-center">
<div className="mt-8 w-full max-w-xl">
<LoadingOverlay
title="Clan Experience"
subtitle="Loading"
variant="circle"
/>
</div>
</div>
) : (
<Home />
);
}