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

Commit a9b491d

Browse files
author
Manuel Proß
committed
fix(web): reorder imports to make eslint run again
1 parent 09dcf0c commit a9b491d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/src/app/[...slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
2-
import { getPageContent } from "@/helpers/getPageContent";
32
import { notFound } from "next/navigation";
3+
import { getPageContent } from "@/helpers/getPageContent";
44

55
export default async function page({ params }: { params: { slug: string[] } }) {
66
try {

web/src/app/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
"use client";
2+
import { redirect } from "next/navigation";
3+
import Error from "next/error";
24
import useSWR from "swr";
35
import Hero from "@/components/Strapi/Sections/HeroSection";
46
import PageContent from "@/components/Strapi/Sections/Content";
57
import { PageAttributes, Routes } from "@/types/strapi";
6-
import Error from "next/error";
7-
import { redirect } from "next/navigation";
88

99
const fetcher = (url: string) => fetch(url).then(res => res.json() as Promise<PageAttributes>);
1010

0 commit comments

Comments
 (0)