diff --git a/src/app/(routes)/(website)/components/about-me/aboutMe.tsx b/src/app/(routes)/(website)/components/about-me/aboutMe.tsx index d7c6fd6..873520d 100644 --- a/src/app/(routes)/(website)/components/about-me/aboutMe.tsx +++ b/src/app/(routes)/(website)/components/about-me/aboutMe.tsx @@ -25,10 +25,13 @@ type AboutMeDataType = { }; export default async function AboutMe() { - const response = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/about-me`, { - cache: "no-store", // غیرفعال کردن کش - }); - const aboutMeData: AboutMeDataType = await response.json(); + const aboutMeData: AboutMeDataType = await fetch( + `${process.env.NEXT_PUBLIC_API_URL}/about-me`, + { + cache: "no-store", // غیرفعال کردن کش + }, + ).then((res) => res.json()); + return (
BY
-IN
-BY
+IN
+