fix effect deps
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user