test
This commit is contained in:
parent
bc8b637c00
commit
cced5996a4
|
@ -1,10 +1,10 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import ResponsiveNav from "@/components/Navbar/ResponsiveNav";
|
import ResponsiveNav from "@/components/Navbar/ResponsiveNav";
|
||||||
import { fetchCourses, fetchCourse, fetchSettings } from "@/utils";
|
import { fetchCourses, fetchSettings } from "@/utils";
|
||||||
import dynamic from 'next/dynamic'
|
import dynamic from 'next/dynamic'
|
||||||
|
//import Course from '@/components/Course/Course';
|
||||||
const DynamicComponent = dynamic(() => import('@/components/Course/Course'), {
|
const DynamicComponent = dynamic(() => import('@/components/Course/Course'), {
|
||||||
ssr: false,
|
ssr: true,
|
||||||
})
|
})
|
||||||
async function getCourses() {
|
async function getCourses() {
|
||||||
const courses = await fetchCourses();
|
const courses = await fetchCourses();
|
||||||
|
|
Loading…
Reference in New Issue