From ca66d6c9af5812830e682f30239e65a9219cb273 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Thu, 14 Mar 2019 08:35:33 -0700 Subject: [PATCH] chore: fix prettier linting --- src/components/category.js | 7 +++---- src/components/skins-dot.js | 16 +++++++++------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/components/category.js b/src/components/category.js index 9e3a4d7..31beaa3 100644 --- a/src/components/category.js +++ b/src/components/category.js @@ -202,13 +202,12 @@ export default class Category extends React.Component { {emojis && diff --git a/src/components/skins-dot.js b/src/components/skins-dot.js index 23e31d2..c3e4f5e 100644 --- a/src/components/skins-dot.js +++ b/src/components/skins-dot.js @@ -32,17 +32,19 @@ export default class SkinsDot extends Skins { className={`emoji-mart-skin-swatch${selected ? ' selected' : ''}`} aria-label={i18n.skintones[skinTone]} aria-hidden={!visible} - {...opened ? { role: 'menuitem' } : {}} + {...(opened ? { role: 'menuitem' } : {})} > -
{skinToneNodes}
+
{skinToneNodes}
) }