Skip to content

Commit

Permalink
fix router use
Browse files Browse the repository at this point in the history
  • Loading branch information
ob6160 committed Sep 25, 2023
1 parent 069256a commit 66edf6f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/pages/map/Index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ export default {
name: 'Pages',
component: MapPageNext,
parameters: {
nextRouter: {
path: '/map/[lng]/[lat]',
asPath: '/map/0.1276/51.5072',
query: {
lng: '0.1276',
lat: '51.5072',
nextjs: {
router: {
path: '/map/[lng]/[lat]',
asPath: '/map/0.1276/51.5072',
query: {
lng: '0.1276',
lat: '51.5072',
},
},
},
},
Expand Down

1 comment on commit 66edf6f

@vercel
Copy link

@vercel vercel bot commented on 66edf6f Sep 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.