first commit
This commit is contained in:
11
frontend/app/main/loading.tsx
Normal file
11
frontend/app/main/loading.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user