Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
mjadach-iv committed Jan 16, 2025
1 parent a8dad49 commit ccdb189
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Modal/node/SendMessageModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ export const SendMessageModal = (props: SendMessageModalProps) => {
selectedReceiver === null ||
(sendMode !== 'directMessage' && sendMode !== 'automaticPath' && numberOfHops < 0 && path === '') ||
message.length === 0 ||
((sendMode === 'directMessage' || (sendMode !== 'path' && numberOfHops < 1)) && selectedReceiver === hoprAddress) ||
((sendMode === 'directMessage' || (sendMode !== 'path' && numberOfHops < 1)) &&
selectedReceiver === hoprAddress) ||
(sendMode === 'path' && path.length === 0)
}
style={{
Expand Down

0 comments on commit ccdb189

Please sign in to comment.