updated translations

This commit is contained in:
Md Asif 2024-12-27 17:24:56 +05:30
parent 307d2621ce
commit ffae2f728b
2 changed files with 5 additions and 2 deletions

View File

@ -51,5 +51,6 @@
"create": "बनाएं",
"operation": "ऑपरेशन",
"next": "अगला",
"select": "चुनें"
"select": "चुनें",
"productCode": "प्रोडक्ट कोड"
}

View File

@ -2,8 +2,10 @@ import PropTypes from "prop-types";
import { AnimatePresence } from "motion/react";
import clsx from "clsx";
import FieldError from "./FieldError";
import { useTranslation } from "react-i18next";
function FormSelect({ props, valid = true, className = "", options }) {
const { t } = useTranslation();
return (
<div>
<select
@ -14,7 +16,7 @@ function FormSelect({ props, valid = true, className = "", options }) {
)}
>
<option disabled value="">
Select
{t("select")}
</option>
{options?.map(({ value, label }) => (
<option key={value} value={value}>