From 75d464b4d42354e62190915fe86cc1e3755ef574 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 9 Jul 2021 17:56:25 -0500 Subject: [PATCH] Notifications: no need to reverse fetched data --- app/soapbox/actions/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/actions/notifications.js b/app/soapbox/actions/notifications.js index ed54b77ac..9e4d4e31d 100644 --- a/app/soapbox/actions/notifications.js +++ b/app/soapbox/actions/notifications.js @@ -188,7 +188,7 @@ export function expandNotifications({ maxId } = {}, done = noOp) { api(getState).get('/api/v1/notifications', { params }).then(response => { const next = getLinks(response).refs.find(link => link.rel === 'next'); - const entries = response.data.reverse().reduce((acc, item) => { + const entries = response.data.reduce((acc, item) => { if (item.account && item.account.id) { acc.accounts[item.account.id] = item.account; }