mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-21 08:17:10 +08:00
fix: lint erroe
This commit is contained in:
@@ -8,7 +8,6 @@ import {
|
|||||||
AddIcon,
|
AddIcon,
|
||||||
LogOutIcon,
|
LogOutIcon,
|
||||||
CloudInsyncIcon,
|
CloudInsyncIcon,
|
||||||
PublishIcon,
|
|
||||||
CloseIcon,
|
CloseIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons';
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import { DownloadIcon } from '@blocksuite/icons';
|
|||||||
import { Button } from '@/ui/button';
|
import { Button } from '@/ui/button';
|
||||||
import { Menu, MenuItem } from '@/ui/menu';
|
import { Menu, MenuItem } from '@/ui/menu';
|
||||||
import { WorkspaceUnit } from '@affine/datacenter';
|
import { WorkspaceUnit } from '@affine/datacenter';
|
||||||
import { Trans, useTranslation } from '@affine/i18n';
|
import { useTranslation } from '@affine/i18n';
|
||||||
import { WorkspaceUnitAvatar } from '@/components/workspace-avatar';
|
import { WorkspaceUnitAvatar } from '@/components/workspace-avatar';
|
||||||
import { EnableWorkspaceButton } from '../enable-workspace';
|
import { EnableWorkspaceButton } from '../enable-workspace';
|
||||||
import { useAppState } from '@/providers/app-state-provider';
|
import { useAppState } from '@/providers/app-state-provider';
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ export const useWorkspaceHelper = () => {
|
|||||||
await dataCenter.updateWorkspaceMeta({ name }, workspace);
|
await dataCenter.updateWorkspaceMeta({ name }, workspace);
|
||||||
}
|
}
|
||||||
if (avatarBlob) {
|
if (avatarBlob) {
|
||||||
// const blobId = await dataCenter.setBlob(workspace, avatarBlob);
|
const blobId = await dataCenter.setBlob(workspace, avatarBlob);
|
||||||
// await dataCenter.updateWorkspaceMeta({ avatar: blobId }, workspace);
|
await dataCenter.updateWorkspaceMeta({ avatar: blobId }, workspace);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ import {
|
|||||||
GeneralPage,
|
GeneralPage,
|
||||||
MembersPage,
|
MembersPage,
|
||||||
PublishPage,
|
PublishPage,
|
||||||
ExportPage,
|
|
||||||
SyncPage,
|
SyncPage,
|
||||||
} from '@/components/workspace-setting';
|
} from '@/components/workspace-setting';
|
||||||
import { SettingsIcon } from '@blocksuite/icons';
|
import { SettingsIcon } from '@blocksuite/icons';
|
||||||
|
|||||||
Reference in New Issue
Block a user