Remove looping log

This commit is contained in:
austinkelsay 2024-10-15 20:02:27 -05:00
parent e18a1568a6
commit 00a6ae5f81
2 changed files with 21 additions and 4 deletions

View File

@ -51,10 +51,6 @@ 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}`);

21
testr.js Normal file
View 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'
};