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