Skip to content

Commit 5eab39a

Browse files
authored
Merge pull request #146 from KubaJastrz/jsx-component
fix: remove ReactElement casting from render
2 parents 8fafb77 + 27c82e7 commit 5eab39a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ErrorBoundary.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class ErrorBoundary extends Component<
112112
},
113113
},
114114
childToRender
115-
) as ReactElement;
115+
);
116116
}
117117
}
118118

0 commit comments

Comments
 (0)