fix(SW-96): use import type

This commit is contained in:
Chuma McPhoy
2024-08-26 13:24:19 +02:00
parent bef58ab0a3
commit 879e89cf61
6 changed files with 6 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ import Gallery from "./Gallery"
import styles from "./Lightbox.module.css"
import { LightboxProps } from "@/types/components/lightbox/lightbox"
import type { LightboxProps } from "@/types/components/lightbox/lightbox"
export default function Lightbox({ images, children }: LightboxProps) {
const [isOpen, setIsOpen] = useState(false)