refetch()} />
{
if (checked) await requestDesktopNotificationPermission()
setDesktopNewMail(checked)
}}
/>
{
if (checked) await requestDesktopNotificationPermission()
setDesktopMentions(checked)
}}
/>
>
)
}
function ToggleRow({
label,
checked,
onChange,
}: {
label: string
checked: boolean
onChange: (checked: boolean) => void | Promise
}) {
return (
)
}