From 3e6298fb5afcb3fc8426f4b29c5ba5b980d14393 Mon Sep 17 00:00:00 2001 From: Jaime Idolpx Date: Mon, 15 Jun 2026 16:11:24 -0400 Subject: [PATCH] feat(SearchAssembly64, SearchCommoServe): replace truthy checks with double negation for clarity --- src/app/components/SearchAssembly64.tsx | 4 ++-- src/app/components/SearchCommoServe.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/components/SearchAssembly64.tsx b/src/app/components/SearchAssembly64.tsx index 8fedea2..375702a 100644 --- a/src/app/components/SearchAssembly64.tsx +++ b/src/app/components/SearchAssembly64.tsx @@ -531,7 +531,7 @@ export default function SearchAssembly64({ config, setConfig, onClose }: SearchA {item.handle && !item.group && ( {item.handle} )} - {item.year && ( + {!!item.year && ( {item.year} @@ -539,7 +539,7 @@ export default function SearchAssembly64({ config, setConfig, onClose }: SearchA {item.event && ( {item.event} )} - {item.place && ( + {!!item.place && ( #{item.place} )} diff --git a/src/app/components/SearchCommoServe.tsx b/src/app/components/SearchCommoServe.tsx index 1283dca..f20e4ce 100644 --- a/src/app/components/SearchCommoServe.tsx +++ b/src/app/components/SearchCommoServe.tsx @@ -520,7 +520,7 @@ export default function SearchCommoServe({ config, setConfig, onClose }: SearchC {item.handle && !item.group && ( {item.handle} )} - {item.year && ( + {!!item.year && ( {item.year} @@ -528,7 +528,7 @@ export default function SearchCommoServe({ config, setConfig, onClose }: SearchC {item.event && ( {item.event} )} - {item.place && ( + {!!item.place && ( #{item.place} )}