Fixes hotkeys and settings buttons not working

This commit is contained in:
psychedelicious 2022-11-01 15:10:49 +11:00 committed by Lincoln Stein
parent ea891324a2
commit d43bd4625d

View File

@ -44,15 +44,17 @@ const SiteHeader = () => {
<StatusIndicator />
<HotkeysModal>
<Tooltip hasArrow label="Hotkeys" placement={'bottom'}>
<IconButton
aria-label="Hotkeys"
variant="link"
fontSize={24}
size={'sm'}
icon={<MdKeyboard />}
/>
</Tooltip>
<div>
<Tooltip hasArrow label="Hotkeys" placement={'bottom'}>
<IconButton
aria-label="Hotkeys"
variant="link"
fontSize={24}
size={'sm'}
icon={<MdKeyboard />}
/>
</Tooltip>
</div>
</HotkeysModal>
<Tooltip hasArrow label="Theme" placement={'bottom'}>
@ -112,15 +114,17 @@ const SiteHeader = () => {
</Tooltip>
<SettingsModal>
<Tooltip label="Settings">
<IconButton
aria-label="Settings"
variant="link"
fontSize={24}
size={'sm'}
icon={<MdSettings />}
/>
</Tooltip>
<div>
<Tooltip label="Settings">
<IconButton
aria-label="Settings"
variant="link"
fontSize={24}
size={'sm'}
icon={<MdSettings />}
/>
</Tooltip>
</div>
</SettingsModal>
</div>
</div>