Skip to content

Commit

Permalink
Memo hook thang
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwenmemon committed Jun 29, 2024
1 parent 2a8eb61 commit 6de207a
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 @@ -74,7 +74,7 @@ function WorkspaceMemberDetailsPage({personalDetails, policy, route}: WorkspaceM
translate('workspace.people.removeMemberPrompt', {memberName: displayName});
}
return translate('workspace.people.removeMembersWarningPrompt', {memberName: displayName, ownerName: policyOwnerDisplayName});
}, [accountID, policy, displayName, translate]);
}, [accountID, policy, displayName, policyOwnerDisplayName, translate]);

const roleItems: ListItemType[] = useMemo(
() => [
Expand Down

0 comments on commit 6de207a

Please sign in to comment.