feat: replace accordion in change editor menu with regular menu (#871)

This commit is contained in:
Aman Harwara
2022-02-16 17:57:06 +05:30
committed by GitHub
parent cb013dbce9
commit cc2bc1e21c
10 changed files with 428 additions and 487 deletions

View File

@@ -107,7 +107,11 @@ export const GeneralAccountMenu: FunctionComponent<Props> = observer(
</>
)}
<div className="h-1px my-2 bg-border"></div>
<Menu a11yLabel="General account menu" closeMenu={closeMenu}>
<Menu
isOpen={appState.accountMenu.show}
a11yLabel="General account menu"
closeMenu={closeMenu}
>
{user ? (
<MenuItem
type={MenuItemType.IconButton}