diff --git a/app/dashboard/src/pages/hosts/dialog/index.tsx b/app/dashboard/src/pages/hosts/dialog/index.tsx index 97127ec..94bb19d 100644 --- a/app/dashboard/src/pages/hosts/dialog/index.tsx +++ b/app/dashboard/src/pages/hosts/dialog/index.tsx @@ -74,7 +74,6 @@ export const HostsDialog: FC = () => { } = useInbounds(); const [loading, setLoading] = useState(false); const [error, setError] = useState(''); - const { t } = useTranslation(); const toast = useToast(); const defaultValueHost: HostSchema = (isEditingHost === true && selectedHost !== null) ? selectedHost : getDefaultValues(); @@ -379,58 +378,54 @@ export const HostsDialog: FC = () => { * - Slowly increasing the opacity * Related issue: #95 */} - {form.getValues().security === 'tls' && ( - <> - - - {t('hostsDialog.alpn')} - - - - - - {t('hostsDialog.fingerprint')} - - - - - )} + + + {t('hostsDialog.alpn')} + + + + + + {t('hostsDialog.fingerprint')} + + + diff --git a/app/dashboard/src/pages/login/index.tsx b/app/dashboard/src/pages/login/index.tsx index 114ed41..ffb8b50 100644 --- a/app/dashboard/src/pages/login/index.tsx +++ b/app/dashboard/src/pages/login/index.tsx @@ -140,7 +140,7 @@ export const Login: FC = () => { -