diff --git a/ui/pages/confirm-approve/confirm-approve.stories.js b/ui/pages/confirm-approve/confirm-approve.stories.js index 31ddae007..35ee95e31 100644 --- a/ui/pages/confirm-approve/confirm-approve.stories.js +++ b/ui/pages/confirm-approve/confirm-approve.stories.js @@ -35,7 +35,7 @@ const PageSet = ({ children }) => { store.dispatch( updateMetamaskState({ currentNetworkTxList: [transaction] }), ); - }, [origin]); + }, [origin, transaction]); useEffect(() => { store.dispatch( @@ -47,7 +47,7 @@ const PageSet = ({ children }) => { }, }), ); - }, [domainIconUrl]); + }, [domainIconUrl, origin]); const params = useParams(); params.id = txId;