Commit Graph

3 Commits

Author SHA1 Message Date
Jaco
7b685cec66
Add useTimer hook (& use in ApiStatsCtx) (#8857)
* Add useTimer hook (& use in ApiStatsCtx)

* Adjust useBounce (w/ timerId var)

* Adjust getStats & mergeStats
2023-01-21 11:28:42 +02:00
Jaco
43d4ba2a05
Fix API stats graph (#8856) 2023-01-21 10:26:37 +02:00
Jaco
37f44367b4
Rework context usage (& move most to react-hooks) (#8731)
* Rework context usage (& move most to react-hooks)

* Move use{Accounts, Addresses} to use contexts

* Cleanups

* Global alignment renames

* Combine keyring subjects into KeyringCtx

* Cleanups to contexts

* Small adjustment to window size usage

* Popup test via data-testid

* Fix Bounties tests

* Move getStats to correct location

* Adjust ApiStats

* Do add unsubs (although unneeded)
2023-01-09 12:56:38 +02:00