diff --git a/src/index.js b/src/index.js index 57f75e8..6380e3f 100644 --- a/src/index.js +++ b/src/index.js @@ -28,6 +28,10 @@ export default class ActionSheet extends Component { this.__should_not_render = true; } } + + componentWillUnmount() { + global.__action_sheet = null; + } show (opts, callback) { let sheets = this.state.sheets;