Fixing lint warning in confirm-approve.stories.js (#11185)

feature/default_network_editable
ryanml 3 years ago committed by GitHub
parent 3578405021
commit 8e3bffc825
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ui/pages/confirm-approve/confirm-approve.stories.js

@ -35,7 +35,7 @@ const PageSet = ({ children }) => {
store.dispatch( store.dispatch(
updateMetamaskState({ currentNetworkTxList: [transaction] }), updateMetamaskState({ currentNetworkTxList: [transaction] }),
); );
}, [origin]); }, [origin, transaction]);
useEffect(() => { useEffect(() => {
store.dispatch( store.dispatch(
@ -47,7 +47,7 @@ const PageSet = ({ children }) => {
}, },
}), }),
); );
}, [domainIconUrl]); }, [domainIconUrl, origin]);
const params = useParams(); const params = useParams();
params.id = txId; params.id = txId;

Loading…
Cancel
Save