AstarNetwork / astar-apps

The official Astar Network portal for accessing your tokens and other native features!
https://portal.astar.network/
GNU General Public License v3.0
68 stars 89 forks source link

useInflation hook fix #1296

Closed bobo-k2 closed 4 months ago

bobo-k2 commented 4 months ago

Pull Request Summary

Fixed the hook because sometimes inflation data wasn't loaded.

Change log looks messy, but basically I removed singleton instance let inflationInstance: UseInflation | undefined = undefined;

Check list

github-actions[bot] commented 4 months ago

Visit the preview URL for this PR (updated for commit fcc9ae1):

https://astar-apps--pr1296-fix-use-inflation-ljyacta4.web.app

(expires Thu, 06 Jun 2024 11:52:14 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: dd76fe72958fe2910fef9d53f0b4539b82b849db

bobo-k2 commented 4 months ago

@impelcrypto resolved comments in https://github.com/AstarNetwork/astar-apps/pull/1296/commits/fcc9ae12580cc7fae49e4edfb8ff1e3a069f40e0