import { translationAtom } from "@/atoms/translations-atom"; import { useAtomValue } from "jotai"; import React from "react"; type GpuIdInputProps = { gpuId: string; handleGpuIdChange: (arg: string) => void; }; export function GpuIdInput({ gpuId, handleGpuIdChange }) { const t = useAtomValue(translationAtom); return (
{t("APP.INFOS.GPU_ID_INPUT.ID")}
{t("APP.INFOS.GPU_ID_INPUT.READ_DOCS")}
{window.electron.platform === "win" && ({t("APP.INFOS.GPU_ID_INPUT.ENABLE_PERF_MODE")}
)}