fix: remove unnecessary `async`
This commit is contained in:
parent
95e557b133
commit
3b7992a9e1
|
@ -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(() => {
|
||||||
|
|
Loading…
Reference in New Issue