add wrapper for mantine useForm

This commit is contained in:
jeffvli
2025-11-29 14:48:54 -08:00
parent 83bd83b629
commit d22fee887c
12 changed files with 14 additions and 11 deletions
@@ -1,4 +1,3 @@
import { useForm } from '@mantine/form';
import isElectron from 'is-electron';
import { nanoid } from 'nanoid/non-secure';
import { useState } from 'react';
@@ -22,6 +21,7 @@ import { Stack } from '/@/shared/components/stack/stack';
import { TextInput } from '/@/shared/components/text-input/text-input';
import { Text } from '/@/shared/components/text/text';
import { toast } from '/@/shared/components/toast/toast';
import { useForm } from '/@/shared/hooks/use-form';
import { AuthenticationResponse, ServerListItemWithCredential } from '/@/shared/types/domain-types';
import { ServerType, toServerType } from '/@/shared/types/types';