12 lines
380 B
TypeScript
12 lines
380 B
TypeScript
import { LoadingSpinner } from "ikoncomponents";
|
|
|
|
// App Router renders this as the Suspense fallback inside <main> while navigating
|
|
// between menu items, so the sidebar stays put and only the content shows a spinner.
|
|
export default function Loading() {
|
|
return (
|
|
<div className="flex h-[60vh] w-full items-center justify-center">
|
|
<LoadingSpinner />
|
|
</div>
|
|
);
|
|
}
|