event: fix classname on event detail view

still had recommend-server class (copy/paste error)
pull/84/head
OFF0 1 year ago
parent f3478c4148
commit a73af8bb78
Signed by: offbyn
GPG Key ID: 94A2F643C51F37FA

@ -178,7 +178,7 @@ export const renderEventDetails = (evt: Event, relay: string) => {
elem('a', {className: 'mbox-img', href: `/${npub}`, tabIndex: -1}, img), elem('a', {className: 'mbox-img', href: `/${npub}`, tabIndex: -1}, img),
body, body,
], { ], {
className: 'mbox-recommend-server', className: 'mbox-plain-event',
data: {kind: evt.kind, id: evt.id, pubkey: evt.pubkey} data: {kind: evt.kind, id: evt.id, pubkey: evt.pubkey}
}); });
}; };

Loading…
Cancel
Save