We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70ee60e commit d9d10bdCopy full SHA for d9d10bd
src/components/Gallery/Gallery.tsx
@@ -80,7 +80,7 @@ const UnMemoizedGallery = <
80
images={formattedArray}
81
index={index}
82
modalIsOpen={modalOpen}
83
- toggleModal={() => toggleModal}
+ toggleModal={() => setModalOpen(!modalOpen)}
84
/>
85
</div>
86
);
0 commit comments