mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-27 09:44:50 +00:00
Refresh data every minute, please
This commit is contained in:
parent
401f8dcf8c
commit
feccbcce72
@ -156,10 +156,15 @@
|
||||
(defn load-issues []
|
||||
(rf/dispatch [:load-bounties]))
|
||||
|
||||
(defn load-data []
|
||||
(load-issues)
|
||||
(load-user))
|
||||
|
||||
(js/setInterval load-data 60000)
|
||||
|
||||
(defn init! []
|
||||
(rf/dispatch-sync [:initialize-db])
|
||||
(load-interceptors!)
|
||||
(hook-browser-navigation!)
|
||||
(load-issues)
|
||||
(load-user)
|
||||
(load-data)
|
||||
(mount-components))
|
||||
|
Loading…
x
Reference in New Issue
Block a user