fix: code review issues

This commit is contained in:
Andrey Kucherenko
2025-01-14 08:34:56 +01:00
parent b58b6636e3
commit d98fc82fbf
8 changed files with 24 additions and 92 deletions
@@ -15,12 +15,12 @@ import {
import { api } from "@/utils/api";
import { useState } from "react";
export function StepThree({
export const StepThree = ({
nextStep,
prevStep,
templateInfo,
setTemplateInfo,
}: any) {
}: any) => {
const [name, setName] = useState(templateInfo.name);
const [server, setServer] = useState(templateInfo.server);
const { data: servers } = api.server.withSSHKey.useQuery();