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

alt038b4ab41a526
diff --git a/packages/app/src/components/workspace-modal/WorkspaceCard.tsx b/packages/app/src/components/workspace-modal/WorkspaceCard.tsx
index 7c062d357f..2a556a1a91 100644
--- a/packages/app/src/components/workspace-modal/WorkspaceCard.tsx
+++ b/packages/app/src/components/workspace-modal/WorkspaceCard.tsx
@@ -48,7 +48,6 @@ export const WorkspaceCard = ({
}) => {
const { currentWorkspace, user } = useAppState();
const { t } = useTranslation();
- const isOwner = user?.id === workspaceData.owner?.id;
return (
<StyledCard
data-testid="workspace-card"