fixed customization erros all using avatar instead of respected item

This commit is contained in:
Polaris
2024-08-26 16:38:35 -04:00
parent 23fe043cf1
commit 81b8a88397
4 changed files with 8 additions and 18 deletions

View File

@ -1,7 +1,6 @@
"use client";
import React, { FC, useEffect, useState } from "react";
import { chuni_static_avatar } from "@/prisma/schemas/artemis/generated/artemis";
import { Check, ChevronsUpDown } from "lucide-react";
import { cn } from "@/lib/utils";
import { Button } from "@/components/ui/button";
@ -31,11 +30,7 @@ import { useForm } from "react-hook-form";
import { zodResolver } from "@hookform/resolvers/zod";
import { toast } from "../../ui/use-toast";
import { cozynet_chuni_static_systemvoice } from "@/prisma/schemas/artemis/generated/artemis";
import {
getCurrentSystemVoice,
getSystemVoices,
updatePlayerSystemVoiceId,
} from "./actions";
import { getCurrentSystemVoice, updatePlayerSystemVoiceId } from "./actions";
const getNamePlateTextures = (id: number | undefined) => {
if (id === undefined) return "";