feat: less CLS loader

This commit is contained in:
TrèsAbhi committed 2024-04-06 17:21:38 -05:00
1 parent 145bc84fb1
commit 85d350a912
1 file changed
+9 -1
+9 -1
View File
@@ -85,7 +85,15 @@ export default function ToolsLayout({ children }: ToolsLayoutProps) {
</div>
)}
<Suspense fallback={<Loader />}>{children}</Suspense>
<Suspense
fallback={
<div style={{ flex: 1 }}>
<Loader />
</div>
}
>
{children}
</Suspense>
</>
);
}