From cced5996a447512843b4761fe3d3eda148af68cb Mon Sep 17 00:00:00 2001 From: Philip Cheung Date: Tue, 8 Oct 2024 19:47:35 +0800 Subject: [PATCH] test --- app/courses/[slug]/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/courses/[slug]/page.tsx b/app/courses/[slug]/page.tsx index 3b0970f..2cea74e 100644 --- a/app/courses/[slug]/page.tsx +++ b/app/courses/[slug]/page.tsx @@ -1,10 +1,10 @@ import React from 'react' import ResponsiveNav from "@/components/Navbar/ResponsiveNav"; -import { fetchCourses, fetchCourse, fetchSettings } from "@/utils"; +import { fetchCourses, fetchSettings } from "@/utils"; import dynamic from 'next/dynamic' - +//import Course from '@/components/Course/Course'; const DynamicComponent = dynamic(() => import('@/components/Course/Course'), { - ssr: false, + ssr: true, }) async function getCourses() { const courses = await fetchCourses();