Skip to content

Commit 1b66ade

Browse files
shorif2000wuweiweiwu
authored andcommitted
fixed null error (frontend-collective#514)
related to bug frontend-collective#513
1 parent f78e45e commit 1b66ade

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/default-handlers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ function getReactElementText(parent) {
99
}
1010

1111
if (
12+
parent === null ||
1213
typeof parent !== 'object' ||
1314
!parent.props ||
1415
!parent.props.children ||

0 commit comments

Comments
 (0)