diff --git a/src/Root.tsx b/src/Root.tsx index 3040be4..85808d0 100644 --- a/src/Root.tsx +++ b/src/Root.tsx @@ -66,6 +66,7 @@ const mapStateToProps = (state: StoreState) => { }; }; +// FIXME: withRouter is only needed here because of https://github.com/ReactTraining/react-router/issues/5795 export default withRouter(connect( mapStateToProps )(Root)); diff --git a/src/SyncGate.tsx b/src/SyncGate.tsx index 4dc9d0b..e332646 100644 --- a/src/SyncGate.tsx +++ b/src/SyncGate.tsx @@ -145,6 +145,7 @@ const mapStateToProps = (state: StoreState, props: PropsType) => { }; }; +// FIXME: withRouter is only needed here because of https://github.com/ReactTraining/react-router/issues/5795 export default withRouter(connect( mapStateToProps )(SyncGate));