fix: remove unnecessary `async`

This commit is contained in:
fernandomg 2020-07-17 11:12:24 -03:00
parent 95e557b133
commit 3b7992a9e1
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export const useLoadSafe = (safeAddress: string): void => {
const dispatch = useDispatch<Dispatch>() const dispatch = useDispatch<Dispatch>()
useEffect(() => { useEffect(() => {
const fetchData = async () => { const fetchData = () => {
if (safeAddress) { if (safeAddress) {
dispatch(fetchLatestMasterContractVersion()) dispatch(fetchLatestMasterContractVersion())
.then(() => { .then(() => {