From 45490985f0d696c8bf3e2e9bfb831e80f03dd689 Mon Sep 17 00:00:00 2001 From: Sven van de Scheur Date: Tue, 6 Jun 2023 10:43:24 +0200 Subject: [PATCH] :bug: - Fix bug with Fallback component. --- src/lib/renderer/renderer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/renderer/renderer.tsx b/src/lib/renderer/renderer.tsx index 2935052..dee4e29 100644 --- a/src/lib/renderer/renderer.tsx +++ b/src/lib/renderer/renderer.tsx @@ -238,7 +238,7 @@ export const RenderComponent: React.FC = ({ * The Fallback component makes sure (child) components keep being rendered with as little side * effects as possible. */ -const Fallback = (props: IComponentProps) => {props.children}; +const Fallback = () => ; /** * Custom hook resolving the `React.ComponentType` based on the configuration in `RenderContext`.