From ab1537dab4205bc83a34e97298e5c015c5083735 Mon Sep 17 00:00:00 2001 From: Chris Garrity Date: Wed, 31 Jul 2019 10:34:42 -0400 Subject: [PATCH] Use classNames instead of ternary Use the classNames feature to include/exclude a class based on a boolean instead of ternary operator --- src/components/library-item/library-item.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/library-item/library-item.jsx b/src/components/library-item/library-item.jsx index 74a65aa9a..81eac4801 100644 --- a/src/components/library-item/library-item.jsx +++ b/src/components/library-item/library-item.jsx @@ -107,8 +107,9 @@ class LibraryItemComponent extends React.PureComponent { ) : (