Fix offcanvas not closed before showing logout prompt (#1561)

This commit is contained in:
ekzyis 2024-11-09 21:00:36 +01:00 committed by GitHub
parent afb71012af
commit d06f4ae70d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -317,6 +317,7 @@ export function LogoutDropdownItem ({ handleClose }) {
</Dropdown.Item>
<Dropdown.Item
onClick={async () => {
handleClose?.()
showModal(onClose => (<LogoutObstacle onClose={onClose} />))
}}
>logout