From 357feb9195e29f26d1e599c164ef3a39bf72fe1a Mon Sep 17 00:00:00 2001 From: lucien7789 <68990764+lucien7789@users.noreply.github.com> Date: Fri, 26 Jan 2024 15:21:02 +1100 Subject: [PATCH] Updated basePath --- next.config.js | 2 +- src/app/(home)/page.tsx | 2 +- src/components/common/ThemedWrapper.tsx | 1 + src/components/search/ProfileCard.tsx | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/next.config.js b/next.config.js index 0d91467..c8bbe3e 100644 --- a/next.config.js +++ b/next.config.js @@ -11,7 +11,7 @@ const nextConfig = { }, ], }, - basePath: "", + basePath: "/static", images: { unoptimized: true, diff --git a/src/app/(home)/page.tsx b/src/app/(home)/page.tsx index f5fa093..61be1fe 100644 --- a/src/app/(home)/page.tsx +++ b/src/app/(home)/page.tsx @@ -30,7 +30,7 @@ export default function Page() { preview void; } & JSX.IntrinsicAttributes; export default function ThemedWrapper({ diff --git a/src/components/search/ProfileCard.tsx b/src/components/search/ProfileCard.tsx index aabe131..7ff3fc7 100644 --- a/src/components/search/ProfileCard.tsx +++ b/src/components/search/ProfileCard.tsx @@ -1,4 +1,4 @@ -import ThemedWrapper from "../common/ThemedWrapper"; +import ThemedWrapper from "@/components/common/ThemedWrapper"; import Image from "next/image"; interface ProfileCardProps {