mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: add ts ignore
This commit is contained in:
@@ -111,6 +111,7 @@ export const StepTwo = ({
|
|||||||
if (!selectedVariant) return;
|
if (!selectedVariant) return;
|
||||||
|
|
||||||
const updatedDomains = [...selectedVariant.domains];
|
const updatedDomains = [...selectedVariant.domains];
|
||||||
|
// @ts-ignore
|
||||||
updatedDomains[index] = {
|
updatedDomains[index] = {
|
||||||
...updatedDomains[index],
|
...updatedDomains[index],
|
||||||
[field]: value,
|
[field]: value,
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import { AlertBlock } from "@/components/shared/alert-block";
|
import { AlertBlock } from "@/components/shared/alert-block";
|
||||||
|
import { Button } from "@/components/ui/button";
|
||||||
import {
|
import {
|
||||||
Dialog,
|
Dialog,
|
||||||
DialogContent,
|
DialogContent,
|
||||||
@@ -16,7 +17,9 @@ import {
|
|||||||
SelectTrigger,
|
SelectTrigger,
|
||||||
SelectValue,
|
SelectValue,
|
||||||
} from "@/components/ui/select";
|
} from "@/components/ui/select";
|
||||||
|
import { Separator } from "@/components/ui/separator";
|
||||||
import { api } from "@/utils/api";
|
import { api } from "@/utils/api";
|
||||||
|
import { defineStepper } from "@stepperize/react";
|
||||||
import { Bot } from "lucide-react";
|
import { Bot } from "lucide-react";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
@@ -24,9 +27,6 @@ import { toast } from "sonner";
|
|||||||
import { StepOne } from "./step-one";
|
import { StepOne } from "./step-one";
|
||||||
import { StepThree } from "./step-three";
|
import { StepThree } from "./step-three";
|
||||||
import { StepTwo } from "./step-two";
|
import { StepTwo } from "./step-two";
|
||||||
import { defineStepper } from "@stepperize/react";
|
|
||||||
import { Separator } from "@/components/ui/separator";
|
|
||||||
import { Button } from "@/components/ui/button";
|
|
||||||
|
|
||||||
interface EnvVariable {
|
interface EnvVariable {
|
||||||
name: string;
|
name: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user