Commit eee4efd0 authored by Taylor Bryant's avatar Taylor Bryant Committed by Joe Haddad

Fix typo (change `imperatively` to `imperative`) (#9750)

parent 8267c8a6
...@@ -1057,7 +1057,7 @@ export default function MyLink() { ...@@ -1057,7 +1057,7 @@ export default function MyLink() {
} }
``` ```
`router` methods should be only used inside the client side of your app though. In order to prevent any error regarding this subject use the imperatively `prefetch` method in the `useEffect()` hook: `router` methods should be only used inside the client side of your app though. In order to prevent any error regarding this subject use the imperative `prefetch` method in the `useEffect()` hook:
```jsx ```jsx
import { useRouter } from 'next/router' import { useRouter } from 'next/router'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment