diff --git a/apps/dokploy/components/dashboard/networks/handle-network.tsx b/apps/dokploy/components/dashboard/networks/handle-network.tsx index 8e1dc5087..c30591088 100644 --- a/apps/dokploy/components/dashboard/networks/handle-network.tsx +++ b/apps/dokploy/components/dashboard/networks/handle-network.tsx @@ -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({ resolver: zodResolver(networkFormSchema),