Skip to content

Commit

Permalink
renamed goBack to back and goForward to forward due to history 5v cha…
Browse files Browse the repository at this point in the history
…nges remix-run/history#811 to fix warnings
  • Loading branch information
User authored and User committed Aug 20, 2020
1 parent d5888cd commit 45c65a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export const history = PropTypes.shape({
createHref: PropTypes.func.isRequired,
entries: PropTypes.arrayOf(location), // only in createMemoryHistory
go: PropTypes.func.isRequired,
goBack: PropTypes.func.isRequired,
goForward: PropTypes.func.isRequired,
back: PropTypes.func.isRequired,
forward: PropTypes.func.isRequired,
index: PropTypes.number, // only in createMemoryHistory
length: PropTypes.number,
listen: PropTypes.func.isRequired,
Expand Down

0 comments on commit 45c65a3

Please sign in to comment.