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