Fix offcanvas not closed before showing logout prompt (#1561)
This commit is contained in:
parent
afb71012af
commit
d06f4ae70d
|
@ -317,6 +317,7 @@ export function LogoutDropdownItem ({ handleClose }) {
|
|||
</Dropdown.Item>
|
||||
<Dropdown.Item
|
||||
onClick={async () => {
|
||||
handleClose?.()
|
||||
showModal(onClose => (<LogoutObstacle onClose={onClose} />))
|
||||
}}
|
||||
>logout
|
||||
|
|
Loading…
Reference in New Issue