Skip to content

Commit

Permalink
client side issue solved
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanptm committed Sep 21, 2024
1 parent 20a5584 commit 33de1b7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions client/app/(landing-pages)/clinicians/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ export const metadata: Metadata = {
};

const Page = async () => {
const apiUrl = process.env.NEXT_PUBLIC_API_URL;
const response = await fetch(`${apiUrl}/doctors`, {
next: { revalidate: 60 },
});
const data = await response.json();
// const apiUrl = process.env.NEXT_PUBLIC_API_URL;
// const response = await fetch(`${apiUrl}/doctors`, {
// next: { revalidate: 60 },
// });
// const data = await response.json();

return (
<section className="py-12 bg-gradient-to-b from-primary/10 to-background">
Expand All @@ -28,7 +28,7 @@ const Page = async () => {
Discover our team of skilled Ayurvedic doctors dedicated to your holistic well-being.
We combine ancient wisdom with modern care for personalized healing.
</p>
<DoctorsList initialData={data.items!} />
<DoctorsList initialData={DummyDoctors!} />
<AyurvedaSection />
<TestimonialsSection />
<FAQSection />
Expand Down

1 comment on commit 33de1b7

@vercel
Copy link

@vercel vercel bot commented on 33de1b7 Sep 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.