mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
fix: replace noop function (#2744)
(cherry picked from commit af6f431c15)
This commit is contained in:
@@ -43,7 +43,7 @@ export function useBlockSuiteWorkspaceAvatarUrl(
|
||||
dispose.dispose();
|
||||
};
|
||||
}
|
||||
return () => {};
|
||||
return;
|
||||
}, [blockSuiteWorkspace]);
|
||||
return [avatar ?? null, setAvatar] as const;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user