fix: next router throw error (#1396)

This commit is contained in:
Himself65 2023-03-07 16:26:39 -06:00 committed by GitHub
parent e90d06edfa
commit e5e3dceee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
}, },
}); });
} }