fix: various

This commit is contained in:
Kieran 2023-10-18 14:59:14 +01:00
parent 98c3d901ae
commit c0bfe376ed
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
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} />;
}
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)) {
return <ZapGoal ev={ev} />;

View File

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

View File

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