check name.length > 0

This commit is contained in:
Martti Malmi
2023-10-06 11:57:46 +03:00
parent 40e05480e6
commit 4e2b7e6bb9
5 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ import Text from "Element/Text";
import { formatShort } from "Number";
import { LiveEvent } from "Element/LiveEvent";
import ProfilePreview from "Element/User/ProfilePreview";
import { getDisplayName } from "../Element/User/DisplayName";
import { getDisplayName } from "Element/User/DisplayName";
function notificationContext(ev: TaggedNostrEvent) {
switch (ev.kind) {