mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
fix(mobile): scroll optimization (#8362)
close AF-1421, AF-1418, AF-1423, AF-1358
This commit is contained in:
@@ -96,8 +96,8 @@ export function useNavigateHelper() {
|
||||
);
|
||||
|
||||
const openPage = useCallback(
|
||||
(workspaceId: string, pageId: string) => {
|
||||
return jumpToPage(workspaceId, pageId);
|
||||
(workspaceId: string, pageId: string, logic?: RouteLogic) => {
|
||||
return jumpToPage(workspaceId, pageId, logic);
|
||||
},
|
||||
[jumpToPage]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user