From ff809813d988a49bf5a9cb907be6c40f57018165 Mon Sep 17 00:00:00 2001 From: austinkelsay Date: Sun, 20 Apr 2025 16:53:21 -0500 Subject: [PATCH] cleanup --- .../carousels/templates/CourseTemplate.js | 17 ++++++----------- src/config/appConfig.js | 3 +-- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/src/components/content/carousels/templates/CourseTemplate.js b/src/components/content/carousels/templates/CourseTemplate.js index 3619f8c..0634b05 100644 --- a/src/components/content/carousels/templates/CourseTemplate.js +++ b/src/components/content/carousels/templates/CourseTemplate.js @@ -22,7 +22,6 @@ import useWindowWidth from '@/hooks/useWindowWidth'; import GenericButton from '@/components/buttons/GenericButton'; import appConfig from '@/config/appConfig'; import { BookOpen } from 'lucide-react'; -import { useSession } from 'next-auth/react'; export function CourseTemplate({ course, showMetaTags = true }) { const { zaps, zapsLoading, zapsError } = useZapsSubscription({ @@ -35,7 +34,6 @@ export function CourseTemplate({ course, showMetaTags = true }) { const { returnImageProxy } = useImageProxy(); const windowWidth = useWindowWidth(); const isMobile = windowWidth < 768; - const { data: session } = useSession(); useEffect(() => { if (zaps.length > 0) { @@ -112,9 +110,8 @@ export function CourseTemplate({ course, showMetaTags = true }) {
{course && @@ -145,9 +142,8 @@ export function CourseTemplate({ course, showMetaTags = true }) { )}

{course?.published_at && course.published_at !== '' diff --git a/src/config/appConfig.js b/src/config/appConfig.js index 3155d97..a8325ba 100644 --- a/src/config/appConfig.js +++ b/src/config/appConfig.js @@ -11,8 +11,7 @@ const appConfig = { ], authorPubkeys: [ 'f33c8a9617cb15f705fc70cd461cfd6eaf22f9e24c33eabad981648e5ec6f741', - 'c67cd3e1a83daa56cff16f635db2fdb9ed9619300298d4701a58e68e84098345', - 'b9f4c34dc25b2ddd785c007bf6e12619bb1c9b8335b8d75d37bf76e97d1a0e31', + 'c67cd3e1a83daa56cff16f635db2fdb9ed9619300298d4701a58e68e84098345' ], customLightningAddresses: [ {