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("SETTINGS.GPU_ID_INPUT.TITLE")}

{t("SETTINGS.GPU_ID_INPUT.DESCRIPTION")}

{window.electron.platform === "win" && (

{t("SETTINGS.GPU_ID_INPUT.ADDITIONAL_DESCRIPTION")}

)}
); }