import { customWidthAtom, useCustomWidthAtom, } from "@/atoms/user-settings-atom"; import { useAtom, useAtomValue } from "jotai"; import React from "react"; import { translationAtom } from "@/atoms/translations-atom"; export function InputCustomResolution() { const [useCustomWidth, setUseCustomWidth] = useAtom(useCustomWidthAtom); const [customWidth, setCustomWidth] = useAtom(customWidthAtom); const t = useAtomValue(translationAtom); return (
{t("SETTINGS.CUSTOM_INPUT_RESOLUTION.TITLE")}
{t("SETTINGS.CUSTOM_INPUT_RESOLUTION.RESTART")}
{t("SETTINGS.CUSTOM_INPUT_RESOLUTION.DESCRIPTION")}