mirror of
https://github.com/block/buzz.git
synced 2026-11-01 15:01:12 +00:00
[codex] Improve desktop startup shell loading (#241)
This commit is contained in:
11
desktop/src/shared/ui/ViewLoadingFallback.tsx
Normal file
11
desktop/src/shared/ui/ViewLoadingFallback.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
type ViewLoadingFallbackProps = {
|
||||
label: string;
|
||||
};
|
||||
|
||||
export function ViewLoadingFallback({ label }: ViewLoadingFallbackProps) {
|
||||
return (
|
||||
<div className="flex min-h-0 flex-1 items-center justify-center px-6 py-8">
|
||||
<p className="text-sm text-muted-foreground">{label}</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user