move span inside of content to fix crash

This commit is contained in:
Josh Hawkins 2024-04-02 07:43:23 -05:00
parent a886b6a3e5
commit 8b2ef31279

View File

@ -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