fix effect deps
This commit is contained in:
parent
3eb3966fca
commit
dc0e15ebbb
@ -34,7 +34,7 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
vkMetrics.resultIdShown(resultQuestion.id);
|
vkMetrics.resultIdShown(resultQuestion.id);
|
||||||
yandexMetrics.resultIdShown(resultQuestion.id);
|
yandexMetrics.resultIdShown(resultQuestion.id);
|
||||||
}, []);
|
}, [resultQuestion.id, vkMetrics, yandexMetrics]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
|
Loading…
Reference in New Issue
Block a user