Cleanup Phase 1: Remove unused React imports from safe components (#2702)
Co-authored-by: Michael Neale <michael.neale@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ window.addEventListener('error', (event) => {
|
||||
);
|
||||
});
|
||||
|
||||
export function ErrorUI({ error }) {
|
||||
export function ErrorUI({ error }: { error: Error }) {
|
||||
return (
|
||||
<div className="fixed inset-0 w-full h-full flex flex-col items-center justify-center gap-6 bg-background">
|
||||
<div className="flex flex-col items-center gap-4 max-w-[600px] text-center px-6">
|
||||
|
||||
Reference in New Issue
Block a user