Skip to content

Commit

Permalink
fix: remove unnecessary dep
Browse files Browse the repository at this point in the history
  • Loading branch information
koko57 committed Nov 15, 2024
1 parent 012840d commit eb859fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/members/WorkspaceMemberDetailsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function WorkspaceMemberDetailsPage({personalDetails, policy, route}: WorkspaceM
return [];
}
return Object.values(workspaceCards ?? {}).filter((card) => card.accountID === accountID);
}, [accountID, workspaceAccountID, workspaceCards]);
}, [accountID, workspaceCards]);

const confirmModalPrompt = useMemo(() => {
const isApprover = Member.isApprover(policy, accountID);
Expand Down

0 comments on commit eb859fc

Please sign in to comment.