Skip to content

Commit d7667d7

Browse files
committed
fixed NonEditingHeadView() function
1 parent d270935 commit d7667d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/frontend/src/pages/TeamsPage/TeamMembersPageBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ const TeamMembersPageBlock: React.FC<TeamMembersPageBlockProps> = ({ team }) =>
183183
<DetailDisplay label="Head" content={fullNamePipe(team.head)} />
184184
</Grid>
185185
<Grid item xs={1} mt={-1} display={'flex'} justifyContent={'flex-end'}>
186-
{hasPerms && <IconButton children={<Edit />} onClick={() => setIsEditingLeads(true)} />}
186+
{hasPerms && <IconButton children={<Edit />} onClick={() => setIsEditingHead(true)} />}
187187
</Grid>
188188
</Grid>
189189
);

0 commit comments

Comments
 (0)