Skip to content

Commit b3e55b3

Browse files
committed
fix: correct button action to stop username editing in UserMenu
1 parent 1ae51df commit b3e55b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/modules/shared/components/layout/UserMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export const UserMenu = ({ userData }: { userData: LoggedUserData }) => {
135135
},
136136
})}
137137
/>
138-
<button onClick={() => setIsEditingUsername(true)}>
138+
<button onClick={() => setIsEditingUsername(false)}>
139139
<FontAwesomeIcon
140140
icon={faClose}
141141
size='lg'

0 commit comments

Comments
 (0)