From 8e3bffc825a6ba323991c0f9adca9419f828af81 Mon Sep 17 00:00:00 2001 From: ryanml Date: Wed, 26 May 2021 09:17:08 -0700 Subject: [PATCH] Fixing lint warning in confirm-approve.stories.js (#11185) --- ui/pages/confirm-approve/confirm-approve.stories.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;