fix: various

This commit is contained in:
2023-10-18 14:59:14 +01:00
parent 98c3d901ae
commit c0bfe376ed
3 changed files with 2 additions and 6 deletions

View File

@ -56,7 +56,7 @@ export default function Note(props: NoteProps) {
return <LiveEvent ev={ev} />; return <LiveEvent ev={ev} />;
} }
if (ev.kind === EventKind.SetMetadata) { if (ev.kind === EventKind.SetMetadata) {
return <ProfilePreview actions={<></>} pubkey={ev.pubkey} className="card" />; return <ProfilePreview actions={<></>} pubkey={ev.pubkey} />;
} }
if (ev.kind === (9041 as EventKind)) { if (ev.kind === (9041 as EventKind)) {
return <ZapGoal ev={ev} />; return <ZapGoal ev={ev} />;

View File

@ -44,7 +44,7 @@ export function LiveEvent({ ev }: { ev: NostrEvent }) {
} }
function cta() { function cta() {
const link = `https://zap.stream/${NostrLink.fromEvent(ev).encode(CONFIG.eventLinkPrefix)}`; const link = `https://zap.stream/${NostrLink.fromEvent(ev).encode()}`;
switch (status) { switch (status) {
case "live": { case "live": {
return ( return (

View File

@ -753,10 +753,6 @@ div.form-col {
white-space: nowrap; white-space: nowrap;
} }
.main-content .profile-preview {
margin: 8px 0;
}
button.tall { button.tall {
height: 40px; height: 40px;
} }