Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit ceb0097

Browse files
Merge pull request #598 from topcoder-platform/issue-45-fix
Fix logout, onblur firing first of onclick on logout btn
2 parents 2b406c9 + 0e99935 commit ceb0097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/Header/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default function Header({
115115
>
116116
<li
117117
className={style.dropdownItem}
118-
onClick={() => logoutWithRedirect()}
118+
onMouseDown={() => logoutWithRedirect()}
119119
>
120120
Logout
121121
</li>

0 commit comments

Comments
 (0)