Skip to content
This repository was archived by the owner on Jan 7, 2023. It is now read-only.

Commit 951b01e

Browse files
Merge pull request #63 from dev-yakuza/update-readme
2 parents 8c8b8b5 + 0be9654 commit 951b01e

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,12 @@ export default {
5050
// you can click the links and see the route change events there
5151
export const Example = () => <MyComponentThatHasANextLink />;
5252

53-
Example.story = {
54-
parameters: {
55-
nextRouter: {
56-
path: "/profile/[id]",
57-
asPath: "/profile/lifeiscontent",
58-
query: {
59-
id: "lifeiscontent",
60-
},
53+
Example.parameters = {
54+
nextRouter: {
55+
path: "/profile/[id]",
56+
asPath: "/profile/lifeiscontent",
57+
query: {
58+
id: "lifeiscontent",
6159
},
6260
},
6361
};

0 commit comments

Comments
 (0)