crutch
This commit is contained in:
parent
adb049bfff
commit
1989604370
@ -25,6 +25,9 @@ type InputsProps = {
|
||||
};
|
||||
};
|
||||
|
||||
const iscrutch = "/cc006b40-ccbd-4600-a1d3-f902f85aa0a0";
|
||||
const pathOnly = window.location.pathname;
|
||||
|
||||
export const Inputs = ({
|
||||
name,
|
||||
setName,
|
||||
@ -47,7 +50,11 @@ export const Inputs = ({
|
||||
<CustomInput
|
||||
onChange={({ target }) => setName(target.value)}
|
||||
id={name}
|
||||
title={FC["name"].innerText || `${t("Enter")} ${t("Name").toLowerCase()}`}
|
||||
title={
|
||||
pathOnly === iscrutch
|
||||
? "Введите имя и фамилию"
|
||||
: FC["name"].innerText || `${t("Enter")} ${t("Name").toLowerCase()}`
|
||||
}
|
||||
desc={FC["name"].text || t("Name")}
|
||||
Icon={NameIcon}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user