mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fixing lint warning in confirm-approve.stories.js (#11185)
This commit is contained in:
parent
3578405021
commit
8e3bffc825
@ -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…
x
Reference in New Issue
Block a user