diff --git a/src/index.js b/src/index.js index a44bdb48..db12debb 100644 --- a/src/index.js +++ b/src/index.js @@ -93,6 +93,7 @@ class LocationProvider extends React.Component { state: { refs }, props: { history } } = this; + this.unmounted = false; history._onTransitionComplete(); refs.unlisten = history.listen(() => { Promise.resolve().then(() => {