mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-13 22:41:02 +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();
|
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