From 58defad2ea2d12e9222d497719e66a4aee8119a7 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Wed, 5 Apr 2023 17:21:47 -0700 Subject: [PATCH] IO-2086 Resolve imports for additional classes with gallery. --- .../jobs-documents-gallery.external.component.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/jobs-documents-gallery/jobs-documents-gallery.external.component.jsx b/client/src/components/jobs-documents-gallery/jobs-documents-gallery.external.component.jsx index fe23d8ceb..5465bbf5c 100644 --- a/client/src/components/jobs-documents-gallery/jobs-documents-gallery.external.component.jsx +++ b/client/src/components/jobs-documents-gallery/jobs-documents-gallery.external.component.jsx @@ -1,5 +1,5 @@ import React, { useEffect } from "react"; -import Gallery from "react-grid-gallery"; +import { Gallery } from "react-grid-gallery"; import { useTranslation } from "react-i18next"; import { GenerateSrcUrl, GenerateThumbUrl } from "./job-documents.utility"; @@ -39,7 +39,7 @@ function JobsDocumentGalleryExternal({ { + onSelect={(index, image) => { setgalleryImages( galleryImages.map((g, idx) => index === idx ? { ...g, isSelected: !g.isSelected } : g