import { translationAtom } from "@/atoms/translations-atom"; import { useAtomValue } from "jotai"; import React from "react"; function InstructionsCard({ version, batchMode }) { const t = useAtomValue(translationAtom); return (

{batchMode ? t("APP.RIGHT_PANE_INFO.SELECT_FOLDER") : t("APP.RIGHT_PANE_INFO.SELECT_IMAGE")}

{batchMode ? (

{t("APP.RIGHT_PANE_INFO.SELECT_FOLDER_DESCRIPTION")}

) : (

{t("APP.RIGHT_PANE_INFO.SELECT_IMAGES_DESCRIPTION")}

)}

Upscayl v{version}

); } export default InstructionsCard;