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 = ({
|
export const Inputs = ({
|
||||||
name,
|
name,
|
||||||
setName,
|
setName,
|
||||||
@ -47,7 +50,11 @@ export const Inputs = ({
|
|||||||
<CustomInput
|
<CustomInput
|
||||||
onChange={({ target }) => setName(target.value)}
|
onChange={({ target }) => setName(target.value)}
|
||||||
id={name}
|
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")}
|
desc={FC["name"].text || t("Name")}
|
||||||
Icon={NameIcon}
|
Icon={NameIcon}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user