From 0e7b02da4b56abe5cd820bb813a2af93d224cfe9 Mon Sep 17 00:00:00 2001 From: Ben Kremer Date: Tue, 15 Feb 2022 16:18:04 +0100 Subject: [PATCH] fix: adds missing useCallback dependency --- dapps/react-dapp-v2-with-ethers/src/contexts/ClientContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dapps/react-dapp-v2-with-ethers/src/contexts/ClientContext.tsx b/dapps/react-dapp-v2-with-ethers/src/contexts/ClientContext.tsx index ebfb8c9..9ddf403 100644 --- a/dapps/react-dapp-v2-with-ethers/src/contexts/ClientContext.tsx +++ b/dapps/react-dapp-v2-with-ethers/src/contexts/ClientContext.tsx @@ -200,7 +200,7 @@ export function ClientContextProvider({ children }: { children: ReactNode | Reac QRCodeModal.close(); }, - [client], + [client, chainData.eip155], ); const _checkForPersistedSession = useCallback(