Skip to content

Commit 6b98926

Browse files
committed
Merge pull request remix-run#2872 from vishaltelangre/patch-1
Fix typo 'router' to 'history' in v2.0.0 upgrade guide
2 parents 5e824a7 + 03cf69f commit 6b98926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upgrade-guides/v2.0.0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ For custom link-like components, the same applies for `router.isActive`, previou
260260
261261
```js
262262
// v1.0.x
263-
router.isActive(pathname, query, indexOnly)
263+
history.isActive(pathname, query, indexOnly)
264264

265265
// v2.0.0
266266
router.isActive({ pathname, query }, indexOnly)

0 commit comments

Comments
 (0)