mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
move span inside of content to fix crash (#10790)
This commit is contained in:
parent
4d8d3cd22e
commit
d7a87fff60
@ -220,10 +220,10 @@ export default function GeneralSettings({ className }: GeneralSettings) {
|
|||||||
<span>Dark Mode</span>
|
<span>Dark Mode</span>
|
||||||
</SubItemTrigger>
|
</SubItemTrigger>
|
||||||
<Portal>
|
<Portal>
|
||||||
<span tabIndex={0} className="sr-only" />
|
|
||||||
<SubItemContent
|
<SubItemContent
|
||||||
className={isDesktop ? "" : "w-[92%] rounded-2xl"}
|
className={isDesktop ? "" : "w-[92%] rounded-2xl"}
|
||||||
>
|
>
|
||||||
|
<span tabIndex={0} className="sr-only" />
|
||||||
<MenuItem
|
<MenuItem
|
||||||
className={
|
className={
|
||||||
isDesktop
|
isDesktop
|
||||||
|
Loading…
Reference in New Issue
Block a user