Update code/frameworks/nextjs/README.md

Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
This commit is contained in:
Valentin Palkovic 2022-12-03 10:03:29 +01:00
parent 15bb8f2d8d
commit 66f99457b7

View File

@ -180,7 +180,7 @@ Please consider, that [next/navigation](https://beta.nextjs.org/docs/upgrade-gui
#### Set `nextAppDirectory` to `app`
If your story imports components, which uses `next/navigation`, you need to set the parameter `nextAppDirectory` to `true` in your Story:
If your story imports components that use `next/navigation`, you need to set the parameter `nextAppDirectory` to `true` in your Story:
```js
// SomeComponentThatUsesTheRouter.stories.js