mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 14:42:03 +03:00
fix: next router throw error (#1396)
This commit is contained in:
parent
e90d06edfa
commit
e5e3dceee8
@ -153,7 +153,7 @@ export function useSyncRouterWithCurrentWorkspaceAndPage(router: NextRouter) {
|
|||||||
query: {
|
query: {
|
||||||
...router.query,
|
...router.query,
|
||||||
workspaceId: currentWorkspace.id,
|
workspaceId: currentWorkspace.id,
|
||||||
pageId: targetId,
|
pageId: targetPageId,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user