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,6 +44,7 @@ const SiteHeader = () => {
<StatusIndicator /> <StatusIndicator />
<HotkeysModal> <HotkeysModal>
<div>
<Tooltip hasArrow label="Hotkeys" placement={'bottom'}> <Tooltip hasArrow label="Hotkeys" placement={'bottom'}>
<IconButton <IconButton
aria-label="Hotkeys" aria-label="Hotkeys"
@ -53,6 +54,7 @@ const SiteHeader = () => {
icon={<MdKeyboard />} icon={<MdKeyboard />}
/> />
</Tooltip> </Tooltip>
</div>
</HotkeysModal> </HotkeysModal>
<Tooltip hasArrow label="Theme" placement={'bottom'}> <Tooltip hasArrow label="Theme" placement={'bottom'}>
@ -112,6 +114,7 @@ const SiteHeader = () => {
</Tooltip> </Tooltip>
<SettingsModal> <SettingsModal>
<div>
<Tooltip label="Settings"> <Tooltip label="Settings">
<IconButton <IconButton
aria-label="Settings" aria-label="Settings"
@ -121,6 +124,7 @@ const SiteHeader = () => {
icon={<MdSettings />} icon={<MdSettings />}
/> />
</Tooltip> </Tooltip>
</div>
</SettingsModal> </SettingsModal>
</div> </div>
</div> </div>