Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: remove unused variables

alt00566c07e39bf
diff --git a/packages/app/src/components/workspace-modal/WorkspaceCard.tsx b/packages/app/src/components/workspace-modal/WorkspaceCard.tsx
index 2a556a1a91..e075bddf0d 100644
--- a/packages/app/src/components/workspace-modal/WorkspaceCard.tsx
+++ b/packages/app/src/components/workspace-modal/WorkspaceCard.tsx
@@ -46,7 +46,7 @@ export const WorkspaceCard = ({
workspaceData: WorkspaceUnit;
onClick: (data: WorkspaceUnit) => void;
}) => {
- const { currentWorkspace, user } = useAppState();
+ const { currentWorkspace } = useAppState();
const { t } = useTranslation();
return (
<StyledCard