Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit 7f51c7e

Browse files
author
Manuel Proß
committed
refactor(web): remove unused code and dependencies
1 parent 1b65d2a commit 7f51c7e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

web/src/app/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"use client";
2-
import { useEffect, useState } from "react";
32
import useSWR from "swr";
43
import Hero from "@/components/Strapi/Sections/HeroSection";
54
import PageContent from "@/components/Strapi/Sections/Content";
@@ -8,7 +7,6 @@ import { PageAttributes } from "@/types/strapi";
87
const fetcher = (url: string) => fetch(url).then(res => res.json() as Promise<PageAttributes>);
98

109
export default function Home() {
11-
// const [pageData, setPageData] = useState<PageAttributes | undefined>(undefined);
1210
const { data } = useSWR("/api/homepage", fetcher);
1311

1412
return (

0 commit comments

Comments
 (0)