Skip to content

Commit

Permalink
Merge pull request #1696 from balena-io-modules/fix-flickering-effect
Browse files Browse the repository at this point in the history
Layout: Fix ErrorBoundary property typing
  • Loading branch information
myarmolinsky committed Feb 7, 2023
2 parents 57e0ef3 + d15754e commit 478f5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface LayoutProps {
) => JSX.Element);
contentHeader?: JSX.Element;
children: JSX.Element;
ErrorBoundary?: any; // TODO
ErrorBoundary?: React.ComponentType<{ children: React.ReactNode }>;
isSidebarCollapsed?: boolean;
setIsSidebarCollapsed?: (state: boolean) => void;
}
Expand Down

0 comments on commit 478f5e2

Please sign in to comment.