mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-23 16:05:24 +00:00
fix course payment button, remove test account from admins
This commit is contained in:
parent
080ab4a4b5
commit
79b8cf1ff8
@ -125,6 +125,7 @@ export default function CourseDetails({ processedEvent, paidCourse, lessons, dec
|
|||||||
|
|
||||||
if (paidCourse && !decryptionPerformed) {
|
if (paidCourse && !decryptionPerformed) {
|
||||||
return (
|
return (
|
||||||
|
<div className='w-fit'>
|
||||||
<CoursePaymentButton
|
<CoursePaymentButton
|
||||||
lnAddress={author?.lud16}
|
lnAddress={author?.lud16}
|
||||||
amount={processedEvent.price}
|
amount={processedEvent.price}
|
||||||
@ -132,6 +133,7 @@ export default function CourseDetails({ processedEvent, paidCourse, lessons, dec
|
|||||||
onError={handlePaymentError}
|
onError={handlePaymentError}
|
||||||
courseId={processedEvent.d}
|
courseId={processedEvent.d}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const appConfig = {
|
|||||||
"wss://purplerelay.com/",
|
"wss://purplerelay.com/",
|
||||||
"wss://relay.devs.tools/"
|
"wss://relay.devs.tools/"
|
||||||
],
|
],
|
||||||
authorPubkeys: ["f33c8a9617cb15f705fc70cd461cfd6eaf22f9e24c33eabad981648e5ec6f741", "c67cd3e1a83daa56cff16f635db2fdb9ed9619300298d4701a58e68e84098345", "6260f29fa75c91aaa292f082e5e87b438d2ab4fdf96af398567b01802ee2fcd4"],
|
authorPubkeys: ["f33c8a9617cb15f705fc70cd461cfd6eaf22f9e24c33eabad981648e5ec6f741", "c67cd3e1a83daa56cff16f635db2fdb9ed9619300298d4701a58e68e84098345"],
|
||||||
customLightningAddresses: [
|
customLightningAddresses: [
|
||||||
{
|
{
|
||||||
// todo remove need for lowercase
|
// todo remove need for lowercase
|
||||||
|
Loading…
x
Reference in New Issue
Block a user