From 69057183e00d53c0ef503c1ee0d974fb732a5b10 Mon Sep 17 00:00:00 2001 From: Clark Winkelmann Date: Thu, 24 May 2018 18:18:39 +0200 Subject: [PATCH] Remove unused color variable --- extensions/tags/js/forum/src/components/TagsPage.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/extensions/tags/js/forum/src/components/TagsPage.js b/extensions/tags/js/forum/src/components/TagsPage.js index 1305ba767..aa890d89d 100644 --- a/extensions/tags/js/forum/src/components/TagsPage.js +++ b/extensions/tags/js/forum/src/components/TagsPage.js @@ -75,14 +75,10 @@ export default class TagsPage extends Component { {cloud.length ? (
- {cloud.map(tag => { - const color = tag.color(); - - return [ - tagLabel(tag, {link: true}), - ' ' - ]; - })} + {cloud.map(tag => [ + tagLabel(tag, {link: true}), + ' ', + ])}
) : ''}