mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-06 18:31:00 +00:00
Remove looping log
This commit is contained in:
parent
e18a1568a6
commit
00a6ae5f81
@ -51,10 +51,6 @@ const VideoDetails = ({ processedEvent, topics, title, summary, image, price, au
|
|||||||
}
|
}
|
||||||
}, [zaps, processedEvent]);
|
}, [zaps, processedEvent]);
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
console.log("author", author);
|
|
||||||
}, [author]);
|
|
||||||
|
|
||||||
const handleDelete = async () => {
|
const handleDelete = async () => {
|
||||||
try {
|
try {
|
||||||
const response = await axios.delete(`/api/resources/${processedEvent.d}`);
|
const response = await axios.delete(`/api/resources/${processedEvent.d}`);
|
||||||
|
21
testr.js
Normal file
21
testr.js
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
const event = {
|
||||||
|
id: '123',
|
||||||
|
content: 'encrypted_blob',
|
||||||
|
created_at: 1714857600,
|
||||||
|
kind: 30804,
|
||||||
|
pubkey: 'pubkey',
|
||||||
|
tags: [
|
||||||
|
["title", "title"],
|
||||||
|
["summary", "summary"],
|
||||||
|
["image", "image"],
|
||||||
|
["published_at", "published_at"],
|
||||||
|
["price", "price"],
|
||||||
|
// This is an array in the format [ "price", "<number>", "<currency>", "<frequency>" ].
|
||||||
|
// "price" is the name of the tag
|
||||||
|
// "<number>" is the amount in numeric format (but included in the tag as a string)
|
||||||
|
// "<currency>" is the currency unit in 3-character ISO 4217 format or ISO 4217-like currency code (e.g. "btc", "eth").
|
||||||
|
// "<frequency>" is optional and can be used to describe recurring payments. SHOULD be in noun format (hour, day, week, month, year, etc.)
|
||||||
|
["location", "https://plebdevs.com/.well-known/lnurlp/austin/1234"],
|
||||||
|
],
|
||||||
|
sig: 'sig'
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user