Skip to content

Commit

Permalink
Add TODO to track remix-run/history#690
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnixon committed May 17, 2019
1 parent b1c4c82 commit 60e5f51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export const wrapHistory = <A = unknown>(
previousLocation = location;
});

// TODO history.block's days are numbered.
// See https://github.com/ReactTraining/history/issues/690
const unblock = history.block((location, action) => {
oafRouter.handleLocationWillChange(
previousLocation.key,
Expand Down

0 comments on commit 60e5f51

Please sign in to comment.