fix effect deps

This commit is contained in:
nflnkr 2024-06-02 13:34:14 +03:00
parent 3eb3966fca
commit dc0e15ebbb

@ -34,7 +34,7 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
useEffect(() => {
vkMetrics.resultIdShown(resultQuestion.id);
yandexMetrics.resultIdShown(resultQuestion.id);
}, []);
}, [resultQuestion.id, vkMetrics, yandexMetrics]);
return (
<Box