empty action

This commit is contained in:
Alejandro Gomez 2023-02-14 23:41:05 +01:00 committed by Kieran
parent 13a1eb186d
commit bf7232b2f4
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
1 changed files with 1 additions and 1 deletions

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} />;