Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
felixriehm committed Jan 4, 2024
1 parent 05357ba commit faeb752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {useEffect} from "react";
import Viewer from 'viewerjs';
import heroImage from "@/public/images/logo.svg";

function initImageGalary(){
function initImageGallery(){
var galleries= document.querySelectorAll<HTMLElement>('.experience-gallery');
for (let i = 0; i < galleries.length; i++) {
new Viewer(galleries[i], {
Expand Down Expand Up @@ -106,7 +106,7 @@ export default function Home() {

useEffect(() => {
(async function () {
initImageGalary()
initImageGallery()
initIntersectionObserver()
})();
}, [isDevPage]);
Expand Down

0 comments on commit faeb752

Please sign in to comment.