mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-22 06:15:24 +02: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 updateMutation = api.network.update.useMutation();
|
||||
const isPending = isEdit ? updateMutation.isPending : createMutation.isPending;
|
||||
const isPending = isEdit
|
||||
? updateMutation.isPending
|
||||
: createMutation.isPending;
|
||||
|
||||
const form = useForm<NetworkFormValues>({
|
||||
resolver: zodResolver(networkFormSchema),
|
||||
|
||||
Reference in New Issue
Block a user