-
+
-
+
-
+
diff --git a/resources/scripts/components/dashboard/DashboardContainer.tsx b/resources/scripts/components/dashboard/DashboardContainer.tsx
index 816ffb99a..7f20383a0 100644
--- a/resources/scripts/components/dashboard/DashboardContainer.tsx
+++ b/resources/scripts/components/dashboard/DashboardContainer.tsx
@@ -76,9 +76,7 @@ export default () => {
))
) : (
- {showOnlyAdmin
- ? t('no-other-servers')
- : t('no-servers-associated')}
+ {showOnlyAdmin ? t('no-other-servers') : t('no-servers-associated')}
)
}
diff --git a/resources/scripts/components/dashboard/forms/ConfigureTwoFactorForm.tsx b/resources/scripts/components/dashboard/forms/ConfigureTwoFactorForm.tsx
index 0f6e846e5..fa572b062 100644
--- a/resources/scripts/components/dashboard/forms/ConfigureTwoFactorForm.tsx
+++ b/resources/scripts/components/dashboard/forms/ConfigureTwoFactorForm.tsx
@@ -33,14 +33,12 @@ export default () => {
setVisible(null)} onTokens={onTokens} />
0} onClose={() => setTokens([])} />
setVisible(null)} />
-
- {isEnabled
- ? t('two_factor.disable.help')
- : t('two_factor.enable.help')}
-
+ {isEnabled ? t('two_factor.disable.help') : t('two_factor.enable.help')}
{isEnabled ? (
-
setVisible('disable')}>{t('two_factor.disable.button')}
+
setVisible('disable')}>
+ {t('two_factor.disable.button')}
+
) : (
)}
diff --git a/resources/scripts/components/dashboard/forms/UpdateEmailAddressForm.tsx b/resources/scripts/components/dashboard/forms/UpdateEmailAddressForm.tsx
index 66b57983b..2258e67b9 100644
--- a/resources/scripts/components/dashboard/forms/UpdateEmailAddressForm.tsx
+++ b/resources/scripts/components/dashboard/forms/UpdateEmailAddressForm.tsx
@@ -59,7 +59,12 @@ export default () => {