fix(admin): provide missing furniture import error banner
CI / check (push) Successful in 1m38s
CI / deploy (push) Successful in 1m45s
CI / e2e (push) Successful in 22s

This commit is contained in:
Simo committed 2026-09-05 20:17:34 +02:00
1 parent 180129699c
commit 8b59bd1d2d
1 file changed
+13
@@ -0,0 +1,13 @@
import { AlertCircle } from "lucide-react";
export function ImportErrorBanner({ error }: { error: string }) {
return (
<div
role="alert"
className="rounded-lg border px-4 py-3 text-sm bg-destructive/10 border-destructive/20 text-destructive flex items-center gap-2"
>
<AlertCircle className="w-4 h-4 shrink-0" aria-hidden="true" />
<span className="min-w-0 break-words">{error}</span>
</div>
);
}