fix: next router throw error (#1396)
This commit is contained in:
1 parent
e90d06edfa
commit
e5e3dceee8
1 file changed
+1
-1
@@ -153,7 +153,7 @@ export function useSyncRouterWithCurrentWorkspaceAndPage(router: NextRouter) {
|
||||
query: {
|
||||
...router.query,
|
||||
workspaceId: currentWorkspace.id,
|
||||
pageId: targetId,
|
||||
pageId: targetPageId,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user