From 4bedbfea3c315b67b1d5d0818880dde46b9af0b5 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Sat, 17 Aug 2019 22:10:01 -0400
Subject: [PATCH] update keyBy
---
src/components/timeline/timeline.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
index 2e317e8e..8df48f7f 100644
--- a/src/components/timeline/timeline.js
+++ b/src/components/timeline/timeline.js
@@ -58,10 +58,10 @@ const Timeline = {
excludedStatusIdsObject () {
const ids = getExcludedStatusIdsByPinning(this.timeline.visibleStatuses, this.pinnedStatusIds)
// Convert id array to object
- return keyBy(ids, id => id)
+ return keyBy(ids)
},
pinnedStatusIdsObject () {
- return keyBy(this.pinnedStatusIds, id => id)
+ return keyBy(this.pinnedStatusIds)
}
},
components: {