Skip to content

Commit

Permalink
use member: UserData
Browse files Browse the repository at this point in the history
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
  • Loading branch information
Phrosfire authored Feb 25, 2025
1 parent ef66d13 commit 5cdb3b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/layout/Clan.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ export const ClanMembers: React.FC<ClanMembersProps> = (props) => {
const canEdit = userData ? canEditClans(userData.role) : false;

// Adjust members for table
const members = clanData.members.map((member) => {
const members = clanData.members.map((member: UserData) => {
const memberIsLeader = member.userId === clanData.leaderId;
const memberIsColeader = checkCoLeader(member.userId, clanData);
const canKick =
Expand Down

0 comments on commit 5cdb3b5

Please sign in to comment.