From 1989604370a579a0f94379f460b8bbe290c411cf Mon Sep 17 00:00:00 2001 From: Nastya Date: Mon, 19 May 2025 15:53:52 +0300 Subject: [PATCH] crutch --- .../ViewPublicationPage/ContactForm/Inputs/Inputs.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/components/ViewPublicationPage/ContactForm/Inputs/Inputs.tsx b/lib/components/ViewPublicationPage/ContactForm/Inputs/Inputs.tsx index 0250121..49e9bce 100644 --- a/lib/components/ViewPublicationPage/ContactForm/Inputs/Inputs.tsx +++ b/lib/components/ViewPublicationPage/ContactForm/Inputs/Inputs.tsx @@ -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 = ({ 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} />