update logic

This commit is contained in:
fmtabbara
2021-11-23 15:01:05 +00:00
parent c8f81d118b
commit 54e217ccea
+1 -1
View File
@@ -70,7 +70,7 @@ export const GlobalContextProvider: React.FC = ({ children }) => {
}, [])
useEffect(() => {
if (validator && tokenTransfer) getBalance()
if (validator || tokenTransfer) getBalance()
}, [validator, tokenTransfer])
const getBalance = async () => {