Skip to content

NVR with realtime local object detection for IP cameras

move span inside of content to fix crash (#10790)

Josh Hawkinsd7a87fff60c5
diff --git a/web/src/components/settings/GeneralSettings.tsx b/web/src/components/settings/GeneralSettings.tsx
index ba21689803..e225257f3e 100644
--- a/web/src/components/settings/GeneralSettings.tsx
+++ b/web/src/components/settings/GeneralSettings.tsx
@@ -220,10 +220,10 @@ export default function GeneralSettings({ className }: GeneralSettings) {
<span>Dark Mode</span>
</SubItemTrigger>
<Portal>
- <span tabIndex={0} className="sr-only" />
<SubItemContent
className={isDesktop ? "" : "w-[92%] rounded-2xl"}
>
+ <span tabIndex={0} className="sr-only" />
<MenuItem
className={
isDesktop