diff --git a/src/view/com/lightbox/Lightbox.tsx b/src/view/com/lightbox/Lightbox.tsx index 9f4abf28f4..df839e3e1a 100644 --- a/src/view/com/lightbox/Lightbox.tsx +++ b/src/view/com/lightbox/Lightbox.tsx @@ -27,24 +27,23 @@ export function Lightbox() { if (!activeLightbox) { return null - } else { - const opts = activeLightbox - return ( - ( - - )} - /> - ) } + + return ( + ( + + )} + /> + ) } function LightboxFooter({altText, uri}: {altText?: string; uri: string}) {