File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ const Index = () => {
155155 await createCashuWallet ( ) ;
156156 await publishEvent ( {
157157 kind : 0 ,
158- content : JSON . stringify ( { name : fakeName , display_name : fakeName } ) ,
158+ content : JSON . stringify ( { name : fakeName } ) ,
159159 } ) ;
160160 } catch {
161161 // fallthrough
Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ function UserGroupsList({
406406 const isCurrentUser = user && profileUserPubkey === user . pubkey ;
407407 const profileAuthor = useAuthor ( profileUserPubkey ) ;
408408 const profileMetadata = profileAuthor . data ?. metadata ;
409- const profileDisplayName = profileMetadata ?. display_name || profileMetadata ?. name || profileUserPubkey . slice ( 0 , 8 ) ;
409+ const profileDisplayName = profileMetadata ?. name || profileUserPubkey . slice ( 0 , 8 ) ;
410410
411411 if ( isLoading ) {
412412 return (
@@ -1031,7 +1031,7 @@ export default function Profile() {
10311031
10321032 const metadata = author . data ?. metadata ;
10331033 const displayName = metadata ?. name || pubkey ?. slice ( 0 , 8 ) || "" ;
1034- const displayNameFull = metadata ?. display_name || displayName ;
1034+ const displayNameFull = displayName ;
10351035 const profileImage = metadata ?. picture ;
10361036 const about = metadata ?. about ;
10371037 const website = metadata ?. website ;
You can’t perform that action at this time.
0 commit comments