From 54e217ccea97aacc66a671bd4eda806209abb774 Mon Sep 17 00:00:00 2001 From: fmtabbara Date: Tue, 23 Nov 2021 15:01:05 +0000 Subject: [PATCH] update logic --- testnet-faucet/src/context/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testnet-faucet/src/context/index.tsx b/testnet-faucet/src/context/index.tsx index a7a7d760d5..856148c9a0 100644 --- a/testnet-faucet/src/context/index.tsx +++ b/testnet-faucet/src/context/index.tsx @@ -70,7 +70,7 @@ export const GlobalContextProvider: React.FC = ({ children }) => { }, []) useEffect(() => { - if (validator && tokenTransfer) getBalance() + if (validator || tokenTransfer) getBalance() }, [validator, tokenTransfer]) const getBalance = async () => {