Load more journal entries (#3048)

* Update the default number of journal entries shown

* Get 7 journal entries per load while infinite scrolling

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
This commit is contained in:
Jonah Goldsaito
2022-02-22 04:30:31 -05:00
committed by GitHub
parent 8c64e7ccda
commit cc0cdb40f2
4 changed files with 4 additions and 5 deletions

View File

@@ -559,7 +559,7 @@
(defn load-more-journals!
[]
(when (has-more-journals?)
(state/update-state! :journals-length inc)))
(state/set-journals-length! (+ (:journals-length @state/state) 7))))
(defn update-public-attribute!
[page-name value]