fix(admin): provide missing furniture import error banner
This commit is contained in:
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>
|
||||||
|
);
|
||||||
|
}
|
||||||
Reference in new issue
Block a user