Fix update

This commit is contained in:
austinkelsay 2024-11-05 15:13:38 -06:00
parent 034680a0a1
commit dcea448f3d
No known key found for this signature in database
GPG Key ID: 44CB4EC6D9F2FA02
2 changed files with 1 additions and 3 deletions

View File

@ -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();

View File

@ -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() {
<link rel="icon" href="/favicon.ico" />
</Head>
<main>
{/* <InteractivePromotionalCarousel /> */}
<HeroBanner />
<CoursesCarousel />
<VideosCarousel />