From 7f327e5980219e794d8a552c332248f11359440f Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 2 Nov 2023 19:44:53 +0800 Subject: [PATCH] Fix same key bug --- src/pages/account-statuses.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/account-statuses.jsx b/src/pages/account-statuses.jsx index 29384fb3..61de5c09 100644 --- a/src/pages/account-statuses.jsx +++ b/src/pages/account-statuses.jsx @@ -159,8 +159,8 @@ function AccountStatuses() { .next(); if (pinnedStatuses?.length && !tagged && !media) { pinnedStatuses.forEach((status) => { - status._pinned = true; saveStatus(status, instance); + status._pinned = true; }); if (pinnedStatuses.length >= 3) { const pinnedStatusesIds = pinnedStatuses.map((status) => status.id);