Skip to content

Commit

Permalink
web-fix: Add timeout before using window.postMessage
Browse files Browse the repository at this point in the history
closes #160

Signed-off-by: Mikhail Petrov <[email protected]>
  • Loading branch information
mike-petrov committed Feb 27, 2024
1 parent 0ba45a8 commit d45cfda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Profile = ({

useEffect(() => {
if (walletData && walletData.account && !isLoading) {
onNeoBalance();
setTimeout(() => onNeoBalance(), 500);
onNeoFSBalance();
onGetContainers();
setIsLoading(true);
Expand Down

0 comments on commit d45cfda

Please sign in to comment.