From 55c1402d99cab163839df52536efb0f2d4fc9187 Mon Sep 17 00:00:00 2001 From: Fedor Date: Tue, 25 Nov 2025 23:38:24 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20React.useRef=20=E2=86=92=20useRef?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ticket_form/frontend/src/components/form/StepWizardPlan.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ticket_form/frontend/src/components/form/StepWizardPlan.tsx b/ticket_form/frontend/src/components/form/StepWizardPlan.tsx index e415f2d4..67eca32e 100644 --- a/ticket_form/frontend/src/components/form/StepWizardPlan.tsx +++ b/ticket_form/frontend/src/components/form/StepWizardPlan.tsx @@ -340,7 +340,7 @@ export default function StepWizardPlan({ // Автоматически создаём блоки для ВСЕХ документов из плана при загрузке // Используем ref чтобы отслеживать какие блоки уже созданы - const createdDocBlocksRef = React.useRef>(new Set()); + const createdDocBlocksRef = useRef>(new Set()); useEffect(() => { if (!plan || !documents || documents.length === 0) return;