From 6831a73fdfd75faaef52f126aacf48f204eb12fa Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Thu, 9 Jul 2020 10:35:14 -0400 Subject: [PATCH] fix(swap): revert the change to reload query parameters on every url change --- src/state/swap/hooks.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/state/swap/hooks.ts b/src/state/swap/hooks.ts index 5c34eccd17..3b7ec51907 100644 --- a/src/state/swap/hooks.ts +++ b/src/state/swap/hooks.ts @@ -262,5 +262,6 @@ export function useDefaultsFromURLSearch() { recipient: parsed.recipient }) ) - }, [dispatch, chainId, parsedQs]) + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [dispatch, chainId]) }