mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 01:38:44 +00:00
bug fix test 1
This commit is contained in:
1 parent
11f1a5f41a
commit
6eecd20587
1 file changed
+2
-9
@@ -12,10 +12,7 @@ import {
|
||||
import { twMerge } from "tailwind-merge";
|
||||
import { GalleryDraggableItem } from "./GalleryDraggableItem";
|
||||
import { useSignals } from "@preact/signals-react/runtime";
|
||||
import {
|
||||
galleryModalVisibleDuringDrag,
|
||||
galleryReopenAfterDragSignal,
|
||||
} from "./galleryModalSignals";
|
||||
import { galleryReopenAfterDragSignal } from "./galleryModalSignals";
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import {
|
||||
faFilter,
|
||||
@@ -332,11 +329,7 @@ export const GalleryModal = React.memo(
|
||||
return (
|
||||
<>
|
||||
<Modal
|
||||
isOpen={
|
||||
mode === "view"
|
||||
? isOpen && galleryModalVisibleDuringDrag.value
|
||||
: isOpen
|
||||
}
|
||||
isOpen={isOpen}
|
||||
onClose={onClose}
|
||||
className={twMerge(
|
||||
"h-[620px] max-w-4xl",
|
||||
|
||||
Reference in new issue
Block a user