Skip to content

Commit 4f547cf

Browse files
Timeline view shows most recent tweets at the top.
1 parent ca40045 commit 4f547cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/twitterbuzz/src/twitterbuzz/timeline.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
(defn update-timeline [tweets]
2727
(let [status (dom/getElement "tweet-status")]
2828
(do (dom/setTextContent status (str (:tweet-count @buzz/state) " tweets"))
29-
(doseq [tweet tweets]
29+
(doseq [tweet (reverse tweets)]
3030
(add-timeline-tweet tweet)))))
3131

3232
(buzz/register :track-clicked #(buzz/remove-children "timeline-content"))

0 commit comments

Comments
 (0)