mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-29 04:44:23 +01:00
demote componnents
This commit is contained in:
18 files changed
+437
-441
No files matched your search
@@ -16,6 +16,7 @@ interface Props {
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
// TODO: move error screen to separate element and just make the fallback trigger that to handle duplicate hoc's
|
||||
export function ErrorWrapper({ children }: Props) {
|
||||
return (
|
||||
<ErrorBoundary fallbackRender={(props) => <Fallback {...props} />}>
|
||||
|
||||
Reference in new issue
Block a user