diff --git a/src/pages/details/[slug]/index.js b/src/pages/details/[slug]/index.js index f1aa518..c278205 100644 --- a/src/pages/details/[slug]/index.js +++ b/src/pages/details/[slug]/index.js @@ -21,7 +21,7 @@ const Details = () => { const [authorView, setAuthorView] = useState(false); const [loading, setLoading] = useState(true); const [lessons, setLessons] = useState([]); - const { data: session } = useSession(); + const { data: session, update } = useSession(); const { ndk } = useNDKContext(); const { decryptContent } = useDecryptContent(); const router = useRouter(); diff --git a/src/pages/index.js b/src/pages/index.js index 8f10485..0e1b7fa 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -3,7 +3,6 @@ import React from 'react'; import CoursesCarousel from '@/components/content/carousels/CoursesCarousel'; import VideosCarousel from '@/components/content/carousels/VideosCarousel'; import DocumentsCarousel from '@/components/content/carousels/DocumentsCarousel'; -import InteractivePromotionalCarousel from '@/components/content/carousels/InteractivePromotionalCarousel'; import HeroBanner from '@/components/banner/HeroBanner'; // todo: make paid course video and document lessons not appear in carousels @@ -17,7 +16,6 @@ export default function Home() {
- {/* */}