fix course payment button, remove test account from admins

This commit is contained in:
austinkelsay 2025-03-31 10:02:58 -05:00
parent 080ab4a4b5
commit 79b8cf1ff8
No known key found for this signature in database
GPG Key ID: 5A763922E5BA08EE
2 changed files with 11 additions and 9 deletions

View File

@ -125,13 +125,15 @@ export default function CourseDetails({ processedEvent, paidCourse, lessons, dec
if (paidCourse && !decryptionPerformed) {
return (
<CoursePaymentButton
lnAddress={author?.lud16}
amount={processedEvent.price}
onSuccess={handlePaymentSuccess}
onError={handlePaymentError}
courseId={processedEvent.d}
/>
<div className='w-fit'>
<CoursePaymentButton
lnAddress={author?.lud16}
amount={processedEvent.price}
onSuccess={handlePaymentSuccess}
onError={handlePaymentError}
courseId={processedEvent.d}
/>
</div>
);
}
@ -197,7 +199,7 @@ export default function CourseDetails({ processedEvent, paidCourse, lessons, dec
</p>
</div>
<div className="flex justify-end">
<MoreOptionsMenu
<MoreOptionsMenu
menuItems={menuItems}
additionalLinks={processedEvent?.additionalLinks || []}
isMobileView={isMobileView}

View File

@ -9,7 +9,7 @@ const appConfig = {
"wss://purplerelay.com/",
"wss://relay.devs.tools/"
],
authorPubkeys: ["f33c8a9617cb15f705fc70cd461cfd6eaf22f9e24c33eabad981648e5ec6f741", "c67cd3e1a83daa56cff16f635db2fdb9ed9619300298d4701a58e68e84098345", "6260f29fa75c91aaa292f082e5e87b438d2ab4fdf96af398567b01802ee2fcd4"],
authorPubkeys: ["f33c8a9617cb15f705fc70cd461cfd6eaf22f9e24c33eabad981648e5ec6f741", "c67cd3e1a83daa56cff16f635db2fdb9ed9619300298d4701a58e68e84098345"],
customLightningAddresses: [
{
// todo remove need for lowercase