diff --git a/app/components/biz/gallery/image-box/index.tsx b/app/components/biz/gallery/image-box/index.tsx index af6a3a8..5d06513 100644 --- a/app/components/biz/gallery/image-box/index.tsx +++ b/app/components/biz/gallery/image-box/index.tsx @@ -1,8 +1,9 @@ /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */ /* eslint-disable jsx-a11y/click-events-have-key-events */ import React, { useState, useRef, useImperativeHandle, forwardRef, type Ref } from "react"; -import { createPortal } from 'react-dom'; -import { clsn } from '~/utils'; +import { createPortal } from "react-dom"; +import { X } from "~/components/ui/icons"; +import { clsn } from "~/utils"; const parseMeta = (metaStr: string) => { try { @@ -151,6 +152,9 @@ function LightBox({ className, list }: LightBoxProps, ref: Ref) { onWheel={onScroll} >
+ {isVideo ? (