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;
const updatedDomains = [...selectedVariant.domains];
// @ts-ignore
updatedDomains[index] = {
...updatedDomains[index],
[field]: value,

View File

@@ -1,4 +1,5 @@
import { AlertBlock } from "@/components/shared/alert-block";
import { Button } from "@/components/ui/button";
import {
Dialog,
DialogContent,
@@ -16,7 +17,9 @@ import {
SelectTrigger,
SelectValue,
} from "@/components/ui/select";
import { Separator } from "@/components/ui/separator";
import { api } from "@/utils/api";
import { defineStepper } from "@stepperize/react";
import { Bot } from "lucide-react";
import Link from "next/link";
import React, { useState } from "react";
@@ -24,9 +27,6 @@ import { toast } from "sonner";
import { StepOne } from "./step-one";
import { StepThree } from "./step-three";
import { StepTwo } from "./step-two";
import { defineStepper } from "@stepperize/react";
import { Separator } from "@/components/ui/separator";
import { Button } from "@/components/ui/button";
interface EnvVariable {
name: string;