mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-25 18:05:29 +08:00
fix: display loading animation in content area only (#1955)
* Initial plan * fix: change loading animation to display only in content area instead of full screen Co-authored-by: RockChinQ <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: RockChinQ <[email protected]>
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import { LoadingPage } from '@/components/ui/loading-spinner';
|
||||
import { LoadingSpinner } from '@/components/ui/loading-spinner';
|
||||
|
||||
export default function Loading() {
|
||||
return <LoadingPage />;
|
||||
return (
|
||||
<div className="flex h-full items-center justify-center">
|
||||
<LoadingSpinner size="lg" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user