mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-04-19 19:01:19 +00:00
Fix content rendering in combined details, imporve decryption process in details page reduced extra api calls
This commit is contained in:
parent
2ba4615885
commit
93bd37161e
@ -117,6 +117,10 @@ const CombinedDetails = ({ processedEvent, topics, title, summary, image, price,
|
||||
);
|
||||
}
|
||||
|
||||
if (processedEvent?.content) {
|
||||
return <MDDisplay className='p-2 rounded-lg w-full' source={processedEvent.content} />;
|
||||
}
|
||||
|
||||
return null;
|
||||
};
|
||||
|
||||
|
@ -11,7 +11,7 @@ const appConfig = {
|
||||
"wss://purplerelay.com/",
|
||||
"wss://relay.devs.tools/"
|
||||
],
|
||||
authorPubkeys: ["f33c8a9617cb15f705fc70cd461cfd6eaf22f9e24c33eabad981648e5ec6f741", "c67cd3e1a83daa56cff16f635db2fdb9ed9619300298d4701a58e68e84098345", "468f729dd409053dac5e7470622c3996aad88db6ed1de9165cb1921b5ab4fd5e"],
|
||||
authorPubkeys: ["f33c8a9617cb15f705fc70cd461cfd6eaf22f9e24c33eabad981648e5ec6f741", "c67cd3e1a83daa56cff16f635db2fdb9ed9619300298d4701a58e68e84098345"],
|
||||
customLightningAddresses: [
|
||||
{
|
||||
// todo remove need for lowercase
|
||||
|
@ -139,7 +139,7 @@ const Details = () => {
|
||||
};
|
||||
|
||||
fetchAndProcessEvent();
|
||||
}, [router.isReady, router.query, ndk, session, decryptContent, fetchAuthor, showToast]);
|
||||
}, [router.isReady, router.query, ndk, session]);
|
||||
|
||||
const handlePaymentSuccess = (response) => {
|
||||
if (response && response?.preimage) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user