mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-04-19 19:01:19 +00:00
Hard code lnAdresses for now
This commit is contained in:
parent
9649c92768
commit
04ab5a2428
@ -84,7 +84,8 @@ export default function CourseDetails({ processedEvent, paidCourse, lessons, dec
|
||||
if (paidCourse && !decryptionPerformed) {
|
||||
return (
|
||||
<CoursePaymentButton
|
||||
lnAddress={author?.lnAddress}
|
||||
// lnAddress={author?.lnAddress}
|
||||
lnAddress={"bitcoinplebdev@stacker.news"}
|
||||
amount={processedEvent.price}
|
||||
onSuccess={handlePaymentSuccess}
|
||||
onError={handlePaymentError}
|
||||
|
@ -101,7 +101,8 @@ export default function CourseDetailsNew({ processedEvent, paidCourse, lessons,
|
||||
if (paidCourse && !decryptionPerformed) {
|
||||
return (
|
||||
<CoursePaymentButton
|
||||
lnAddress={author?.lnAddress}
|
||||
// lnAddress={author?.lnAddress}
|
||||
lnAddress={"bitcoinplebdev@stacker.news"}
|
||||
amount={processedEvent.price}
|
||||
onSuccess={handlePaymentSuccess}
|
||||
onError={handlePaymentError}
|
||||
|
@ -99,7 +99,8 @@ const DocumentDetails = ({ processedEvent, topics, title, summary, image, price,
|
||||
</p>
|
||||
<div className="flex flex-row items-center justify-center w-full mt-4">
|
||||
<ResourcePaymentButton
|
||||
lnAddress={author?.lightningAddress}
|
||||
// lnAddress={author?.lightningAddress}
|
||||
lnAddress={"bitcoinplebdev@stacker.news"}
|
||||
amount={price}
|
||||
onSuccess={handlePaymentSuccess}
|
||||
onError={handlePaymentError}
|
||||
|
@ -38,6 +38,10 @@ const VideoDetails = ({ processedEvent, topics, title, summary, image, price, au
|
||||
}
|
||||
}, [zaps, processedEvent]);
|
||||
|
||||
useEffect(() => {
|
||||
console.log("author", author);
|
||||
}, [author]);
|
||||
|
||||
const handleDelete = async () => {
|
||||
try {
|
||||
const response = await axios.delete(`/api/resources/${processedEvent.d}`);
|
||||
@ -97,7 +101,8 @@ const VideoDetails = ({ processedEvent, topics, title, summary, image, price, au
|
||||
</p>
|
||||
<div className="flex flex-row items-center justify-center w-full mt-4 z-10">
|
||||
<ResourcePaymentButton
|
||||
lnAddress={author?.lnAddress}
|
||||
// lnAddress={author?.lnAddress}
|
||||
lnAddress={"bitcoinplebdev@stacker.news"}
|
||||
amount={price}
|
||||
onSuccess={handlePaymentSuccess}
|
||||
onError={handlePaymentError}
|
||||
|
Loading…
x
Reference in New Issue
Block a user