diff --git a/src/components/sidebar/defibrillatorDetails.tsx b/src/components/sidebar/defibrillatorDetails.tsx index b7397af..7c48ce3 100644 --- a/src/components/sidebar/defibrillatorDetails.tsx +++ b/src/components/sidebar/defibrillatorDetails.tsx @@ -66,8 +66,7 @@ function photoGallery(data: DefibrillatorData, closeSidebar: () => void) { lazyLoad showPlayButton={false} showThumbnails={images.length > 1} - // eslint-disable-next-line eqeqeq - renderCustomControls={data.photoId == null ? undefined : renderCustomControls} + renderCustomControls={data.photoId === null ? undefined : renderCustomControls} />