Skip to content

Commit

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

async function getData(isDevPage: boolean) {
const res = await fetch(`https://static-files.felixriehm.de/content${isDevPage ? '_dev': ''}.json`)

if (!res.ok) {
// This will activate the closest `error.js` Error Boundary
throw new Error('Failed to fetch data')
}

return res.json()
}

function initImageGalary(){
var galleries= document.querySelectorAll<HTMLElement>('.experience-gallery');
for (let i = 0; i < galleries.length; i++) {
Expand Down

0 comments on commit 05357ba

Please sign in to comment.