fix: setup syncing timer not working (#15852)

This commit is contained in:
Ajay Sivan 2023-05-25 05:24:03 -07:00 committed by GitHub
parent b45632d2fd
commit 682eb841ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,8 @@
(defn f-use-interval (defn f-use-interval
[clock cleanup-clock delay] [clock cleanup-clock delay]
(hooks/use-interval clock cleanup-clock delay)) (hooks/use-interval clock cleanup-clock delay)
nil)
(defn view (defn view
[] []
@ -65,8 +66,8 @@
(reset! valid-for-ms code-valid-for-ms))] (reset! valid-for-ms code-valid-for-ms))]
(fn [] (fn []
[:f> f-use-interval clock cleanup-clock @delay]
[rn/view {:style (style/container-main (safe-area/get-top))} [rn/view {:style (style/container-main (safe-area/get-top))}
[:f> f-use-interval clock cleanup-clock @delay]
[rn/scroll-view {} [rn/scroll-view {}
[navigation-bar] [navigation-bar]
[rn/view {:style style/page-container} [rn/view {:style style/page-container}