From fb77e19da793d51cbf9e2068f524bcba966c5aa2 Mon Sep 17 00:00:00 2001 From: Freako <65329453+Goku-04@users.noreply.github.com> Date: Mon, 2 Oct 2023 18:28:45 +0530 Subject: [PATCH] Directly return boolean value instead of returning it from ternary operator --- .../components/library/GenresSectionContainer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/experimental/components/library/GenresSectionContainer.tsx b/src/apps/experimental/components/library/GenresSectionContainer.tsx index 74f57782b1..3295be54d0 100644 --- a/src/apps/experimental/components/library/GenresSectionContainer.tsx +++ b/src/apps/experimental/components/library/GenresSectionContainer.tsx @@ -70,8 +70,8 @@ const GenresSectionContainer: FC = ({ centerText: true, cardLayout: false, shape: itemType === BaseItemKind.MusicAlbum ? 'overflowSquare' : 'overflowPortrait', - showParentTitle: itemType === BaseItemKind.MusicAlbum ? true : false, - showYear: itemType === BaseItemKind.MusicAlbum ? false : true + showParentTitle: (itemType === BaseItemKind.MusicAlbum), + showYear: !(itemType === BaseItemKind.MusicAlbum) }} />; };