useEffect requires array as param

This commit is contained in:
Barry Gitarts 2019-02-08 06:01:05 -05:00
parent 47e287adb0
commit f15d0706d9
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ const CreateFunding = ({ refreshTable }) => {
useEffect(() => {
if (account) updateBalancesAllowances()
}, account)
}, [account])
return (
<Formik