Skip to content

Commit

Permalink
🐛 - Fix bug with Fallback component.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven van de Scheur committed Jun 6, 2023
1 parent dfa63b5 commit 4549098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/renderer/renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export const RenderComponent: React.FC<IRenderComponentProps> = ({
* The Fallback component makes sure (child) components keep being rendered with as little side
* effects as possible.
*/
const Fallback = (props: IComponentProps) => <React.Fragment>{props.children}</React.Fragment>;
const Fallback = () => <React.Fragment />;

/**
* Custom hook resolving the `React.ComponentType` based on the configuration in `RenderContext`.
Expand Down

0 comments on commit 4549098

Please sign in to comment.