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