fix: test case

This commit is contained in:
DarkSky
2023-01-03 13:40:54 +08:00
committed by DarkSky
parent 0110efc340
commit f4a4350f68
3 changed files with 3 additions and 6 deletions

View File

@@ -15,10 +15,7 @@ const DynamicBlocksuite = ({
setCreateEditorHandler,
}: Props) => {
useEffect(() => {
const openWorkspace: LoadWorkspaceHandler = async (
workspaceId: string,
user
) => {
const openWorkspace: LoadWorkspaceHandler = async (workspaceId: string) => {
if (workspaceId) {
const dc = await getDataCenter();
return dc.getWorkspace(workspaceId, { providerId: 'affine' });