diff --git a/packages/frontend-plugin-api/src/components/ErrorBoundary.tsx b/packages/frontend-plugin-api/src/components/ErrorBoundary.tsx index be988dc14f..6b457fadc9 100644 --- a/packages/frontend-plugin-api/src/components/ErrorBoundary.tsx +++ b/packages/frontend-plugin-api/src/components/ErrorBoundary.tsx @@ -20,7 +20,7 @@ import { CoreErrorBoundaryFallbackProps } from '../types'; type ErrorBoundaryProps = PropsWithChildren<{ plugin?: BackstagePlugin; - fallback: ComponentType; + Fallback: ComponentType; }>; type ErrorBoundaryState = { error?: Error }; @@ -41,7 +41,7 @@ export class ErrorBoundary extends Component< render() { const { error } = this.state; - const { plugin, children, fallback: Fallback } = this.props; + const { plugin, children, Fallback } = this.props; if (error) { return ( diff --git a/packages/frontend-plugin-api/src/components/ExtensionBoundary.tsx b/packages/frontend-plugin-api/src/components/ExtensionBoundary.tsx index db5c911cef..d9bd41f2a9 100644 --- a/packages/frontend-plugin-api/src/components/ExtensionBoundary.tsx +++ b/packages/frontend-plugin-api/src/components/ExtensionBoundary.tsx @@ -70,7 +70,7 @@ export function ExtensionBoundary(props: ExtensionBoundaryProps) { return ( }> - + {children}