Skip to content
This repository has been archived by the owner on Aug 29, 2021. It is now read-only.

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 1762d97 commit bdac849
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 @@ -53,6 +53,8 @@ export const wrapNavigation = async <
}
});

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

0 comments on commit bdac849

Please sign in to comment.