mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-11-23 14:49:55 +00:00
fix: add People Chain deps to AccountBalance useEffect for proper balance fetch
This commit is contained in:
1 parent
ca3709e8ef
commit
9f6e477e6b
1 file changed
+1
-1
@@ -556,7 +556,7 @@ export const AccountBalance: React.FC = () => {
|
|||||||
if (unsubscribeUsdt) unsubscribeUsdt();
|
if (unsubscribeUsdt) unsubscribeUsdt();
|
||||||
};
|
};
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, [api, assetHubApi, isApiReady, isAssetHubReady, selectedAccount]);
|
}, [api, assetHubApi, peopleApi, isApiReady, isAssetHubReady, isPeopleReady, selectedAccount]);
|
||||||
|
|
||||||
if (!selectedAccount) {
|
if (!selectedAccount) {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in new issue
Block a user