Skip to content

Commit 6ebcb40

Browse files
authored
Allowed users send to themselves from transactions history (#1405)
1 parent 4986f0c commit 6ebcb40

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

packages/app/features/profile/screen.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,10 @@ export function ProfileScreen({ sendid: propSendid }: ProfileScreenProps) {
141141
) : null
142142
}
143143
ListHeaderComponent={
144-
Boolean(otherUserProfile) && user?.id !== otherUserProfile?.id ? (
145-
<SendButton
146-
identifier={otherUserProfile?.tag ?? otherUserProfile?.sendid ?? ''}
147-
idType={otherUserProfile?.tag ? 'tag' : 'sendid'}
148-
/>
149-
) : null
144+
<SendButton
145+
identifier={otherUserProfile?.tag ?? otherUserProfile?.sendid ?? ''}
146+
idType={otherUserProfile?.tag ? 'tag' : 'sendid'}
147+
/>
150148
}
151149
inverted={true}
152150
showsVerticalScrollIndicator={false}

0 commit comments

Comments
 (0)