Skip to content

Commit

Permalink
fix: create today's journal immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Nov 10, 2020
1 parent 23659fd commit c2dc6a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/frontend/handler.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
(fn []
(js/console.error "Failed to request GitHub app tokens."))))

(js/setTimeout watch-for-date! 60000))))))]
(watch-for-date!))))))]
;; clear this interval
(let [interval-id (js/setInterval inner-fn 50)]
(reset! interval interval-id))))
Expand Down

0 comments on commit c2dc6a6

Please sign in to comment.