refactor: add ts ignore

This commit is contained in:
Mauricio Siu
2025-01-18 23:54:39 -06:00
parent e7329a727f
commit bda9b05134
2 changed files with 4 additions and 3 deletions

View File

@@ -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,

View File

@@ -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;