🐛 User preferences not rendering correctly for Switches

This commit is contained in:
Manuel
2023-07-31 19:49:41 +02:00
parent 130b51e109
commit 2aa594b686

View File

@@ -13,13 +13,13 @@ export const AccessibilitySettings = () => {
<Switch
label={t('disablePulse.label')}
description={t('disablePulse.description')}
{...form.getInputProps('disablePingPulse')}
{...form.getInputProps('disablePingPulse', { type: 'checkbox' })}
/>
<Switch
label={t('replaceIconsWithDots.label')}
description={t('replaceIconsWithDots.description')}
{...form.getInputProps('replaceDotsWithIcons')}
{...form.getInputProps('replaceDotsWithIcons', { type: 'checkbox' })}
/>
<Alert icon={<IconInfoCircle size="1rem" />} color="blue">