fix: replace noop function (#2744)

This commit is contained in:
Himself65 authored and GitHub committed 2023-06-09 16:00:44 +08:00
1 parent 01ae21e1fa
commit af6f431c15
12 files changed
+37 -12

No files matched your search

@@ -43,7 +43,7 @@ export function useBlockSuiteWorkspaceAvatarUrl(
dispose.dispose();
};
}
return () => {};
return;
}, [blockSuiteWorkspace]);
return [avatar ?? null, setAvatar] as const;
}