diff --git a/src/camera/PhotoCamera.tsx b/src/camera/PhotoCamera.tsx index 7af41ffb..aebb79e5 100644 --- a/src/camera/PhotoCamera.tsx +++ b/src/camera/PhotoCamera.tsx @@ -27,7 +27,10 @@ export default function PhotoCamera({ )} > {showIcon && <> - +   } {!(hideApple && camera.make?.toLowerCase() === 'apple') && @@ -35,7 +38,7 @@ export default function PhotoCamera({ {camera.make?.toLowerCase() === 'apple' ? : camera.make} diff --git a/src/components/HeaderList.tsx b/src/components/HeaderList.tsx index 5566e15b..f75bdff7 100644 --- a/src/components/HeaderList.tsx +++ b/src/components/HeaderList.tsx @@ -24,8 +24,10 @@ export default function HeaderList({ 'flex items-center mb-0.5', 'uppercase', )}> - {icon} - {icon && title && <> } + {icon && + + {icon} + } {title} , ] diff --git a/src/photo/PhotoGridSidebar.tsx b/src/photo/PhotoGridSidebar.tsx index e9bd7a26..28156bc7 100644 --- a/src/photo/PhotoGridSidebar.tsx +++ b/src/photo/PhotoGridSidebar.tsx @@ -20,7 +20,7 @@ export default function PhotoGridSidebar({ <> {tags.length > 0 && } + icon={} items={tags.map(({ tag, count }) => } {cameras.length > 0 && } + icon={} items={cameras.map(({ cameraKey, camera, count }) => } diff --git a/src/tag/PhotoTags.tsx b/src/tag/PhotoTags.tsx index 02864fcc..81bc3aec 100644 --- a/src/tag/PhotoTags.tsx +++ b/src/tag/PhotoTags.tsx @@ -8,10 +8,9 @@ export default function PhotoTags({ return (
{tags.map(tag => - )} +
+ +
)}
); }