Refresh data every minute, please

This commit is contained in:
kagel 2016-10-02 18:06:12 +03:00
parent 401f8dcf8c
commit feccbcce72

View File

@ -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))