Skip to content

Commit 5ee94d9

Browse files
committed
fix: remove ReactElement casting from render
1 parent 8fafb77 commit 5ee94d9

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)