Skip to content

Commit

Permalink
fix: 修复初始化 RootSiblings 报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
robinv8 committed Jul 17, 2023
1 parent 7833a52 commit bb354e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-ui/rn/components/toast/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default class AtToast extends React.Component<
public componentDidMount(): void {
const { _isOpened } = this.state
if (!this.toast) {
this.toast = new RootSiblings()
this.toast = new RootSiblings(null)
}

if (_isOpened) {
Expand Down

0 comments on commit bb354e0

Please sign in to comment.