UI bugs #301

Merged
verbiricha merged 10 commits from ui-bugs into main 2023-02-15 14:26:34 +00:00
Showing only changes of commit bf7232b2f4 - Show all commits

View File

@ -69,7 +69,7 @@ export default function Timeline({
function eventElement(e: TaggedRawEvent) {
switch (e.kind) {
case EventKind.SetMetadata: {
return <ProfilePreview actions={null} pubkey={e.pubkey} className="card" />;
return <ProfilePreview actions={<></>} pubkey={e.pubkey} className="card" />;
}
case EventKind.TextNote: {
return <Note key={e.id} data={e} related={related.notes} ignoreModeration={ignoreModeration} />;