From ad218d8803a23e53065fcd92d260ff23c4f8fb4f Mon Sep 17 00:00:00 2001 From: kiwihodl Date: Thu, 17 Apr 2025 13:00:58 -0500 Subject: [PATCH] linted before rebase --- .prettierrc | 2 +- src/components/ZapThreadsWrapper.js | 49 +++-- .../carousels/templates/CourseTemplate.js | 36 ++-- .../content/combined/CombinedDetails.js | 153 +++++++--------- .../content/courses/CourseDetails.js | 19 +- .../content/courses/CourseLesson.js | 166 ++++++++--------- .../content/documents/DocumentDetails.js | 154 +++++++--------- src/components/content/videos/VideoDetails.js | 170 +++++++----------- src/config/appConfig.js | 1 + .../api/lightning-address/callback/[slug].js | 10 +- src/pages/course/[slug]/index.js | 157 +++++++--------- 11 files changed, 384 insertions(+), 533 deletions(-) diff --git a/.prettierrc b/.prettierrc index b43e32e..59b59ba 100644 --- a/.prettierrc +++ b/.prettierrc @@ -6,4 +6,4 @@ "printWidth": 100, "bracketSpacing": true, "arrowParens": "avoid" -} \ No newline at end of file +} diff --git a/src/components/ZapThreadsWrapper.js b/src/components/ZapThreadsWrapper.js index 4e4f1ad..1b129b7 100644 --- a/src/components/ZapThreadsWrapper.js +++ b/src/components/ZapThreadsWrapper.js @@ -1,13 +1,6 @@ -import React, { useEffect, useRef } from "react"; +import React, { useEffect, useRef } from 'react'; -const ZapThreadsWrapper = ({ - anchor, - user, - relays, - disable, - className, - isAuthorized, -}) => { +const ZapThreadsWrapper = ({ anchor, user, relays, disable, className, isAuthorized }) => { // Create a ref to store the reference to the
element const zapRef = useRef(null); @@ -18,37 +11,37 @@ const ZapThreadsWrapper = ({ } // Create a new