Skip to content

Commit bb354e0

Browse files
committed
fix: 修复初始化 RootSiblings 报错的问题
1 parent 7833a52 commit bb354e0

File tree

1 file changed

+1
-1
lines changed
  • packages/taro-ui/rn/components/toast

1 file changed

+1
-1
lines changed

packages/taro-ui/rn/components/toast/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default class AtToast extends React.Component<
104104
public componentDidMount(): void {
105105
const { _isOpened } = this.state
106106
if (!this.toast) {
107-
this.toast = new RootSiblings()
107+
this.toast = new RootSiblings(null)
108108
}
109109

110110
if (_isOpened) {

0 commit comments

Comments
 (0)