diff --git a/lib/components/ViewPublicationPage/ResultForm.tsx b/lib/components/ViewPublicationPage/ResultForm.tsx index 4d32bf9..f6d8b4e 100644 --- a/lib/components/ViewPublicationPage/ResultForm.tsx +++ b/lib/components/ViewPublicationPage/ResultForm.tsx @@ -34,7 +34,7 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => { useEffect(() => { vkMetrics.resultIdShown(resultQuestion.id); yandexMetrics.resultIdShown(resultQuestion.id); - }, []); + }, [resultQuestion.id, vkMetrics, yandexMetrics]); return (