updated
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
"use client"
|
||||
import React, { useEffect, useState, lazy, Suspense } from 'react'
|
||||
import React, { useEffect, useState, Suspense } from 'react'
|
||||
import Banner from './Banner'
|
||||
import LongDesc from './LongDesc'
|
||||
import CourseImagesSilder from './CourseImagesSilder'
|
||||
@@ -21,8 +21,6 @@ const Course = ({ course, settings }: { course: CoursesProps, settings: Settings
|
||||
}; loadCourses();
|
||||
}, []);
|
||||
|
||||
const startLoading = () => setLoading(true);
|
||||
const stopLoading = () => setLoading(false);
|
||||
|
||||
|
||||
return (
|
||||
|
@@ -4,11 +4,11 @@ import "slick-carousel/slick/slick.css";
|
||||
import "slick-carousel/slick/slick-theme.css";
|
||||
import Slider from "react-slick";
|
||||
import './slick.css'
|
||||
import { CoursesProps, CoursesArrayProps } from "@/types";
|
||||
import { CoursesProps } from "@/types";
|
||||
import { IoIosArrowForward, IoIosArrowBack } from "react-icons/io";
|
||||
|
||||
const SamplePrevArrow = (props: any) => {
|
||||
const { className, style, onClick } = props;
|
||||
const { onClick } = props;
|
||||
return (
|
||||
<div
|
||||
id='prev'
|
||||
@@ -23,7 +23,7 @@ const SamplePrevArrow = (props: any) => {
|
||||
|
||||
|
||||
function SampleNextArrow(props: any) {
|
||||
const { className, style, onClick } = props;
|
||||
const { onClick } = props;
|
||||
return (
|
||||
<div
|
||||
id='next'
|
||||
|
Reference in New Issue
Block a user