Skip to content

Commit

Permalink
fix gallery name clash
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Aug 5, 2023
1 parent 92382cd commit ff8131c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/gallery.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { SITE } from '~/config/site/config.js';
import Layout from '~/layouts/PageLayout.astro';
import Gallery from '~/components/widgets/Gallery.jsx';
import ImgGallery from '~/components/widgets/Gallery.jsx';
import Hero from '~/components/widgets/Hero.astro';
import hero from '~/config/pages/gallery/hero';
import gallery from '~/config/pages/gallery/gallery';
Expand Down Expand Up @@ -52,6 +52,6 @@ const meta = {
<br />

<!-- Gallery -->
{gallery && gallery.enabled && <Gallery client:only="react" photos={gallery.photos} layout={gallery.layout} />}
{gallery && gallery.enabled && <ImgGallery client:only="react" photos={gallery.photos} layout={gallery.layout} />}
<!-- End of Gallery -->
</Layout>

0 comments on commit ff8131c

Please sign in to comment.