mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-19 10:25:20 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -141,7 +141,9 @@ export const HandleNetwork = ({ networkId, children }: HandleNetworkProps) => {
|
|||||||
|
|
||||||
const createMutation = api.network.create.useMutation();
|
const createMutation = api.network.create.useMutation();
|
||||||
const updateMutation = api.network.update.useMutation();
|
const updateMutation = api.network.update.useMutation();
|
||||||
const isPending = isEdit ? updateMutation.isPending : createMutation.isPending;
|
const isPending = isEdit
|
||||||
|
? updateMutation.isPending
|
||||||
|
: createMutation.isPending;
|
||||||
|
|
||||||
const form = useForm<NetworkFormValues>({
|
const form = useForm<NetworkFormValues>({
|
||||||
resolver: zodResolver(networkFormSchema),
|
resolver: zodResolver(networkFormSchema),
|
||||||
|
|||||||
Reference in New Issue
Block a user