Skip to content

Commit

Permalink
fix: do not show empty reply address (#1037)
Browse files Browse the repository at this point in the history
  • Loading branch information
AceTheCreator authored Aug 21, 2024
1 parent d2ebc57 commit 4b4bb80
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions library/src/containers/Operations/Operation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,15 @@ export const OperationReplyInfo: React.FunctionComponent<Props> = (props) => {
</span>
</div>
) : (
<div className="text-xs text-gray-700">
Reply will be directed to the address specified at this
location:{' '}
<span className="border text-orange-600 rounded text-xs ml-2 py-0 px-2">
{replyAddress}
</span>
</div>
replyAddress != null && (
<div className="text-xs text-gray-700">
Reply will be directed to the address specified at this
location:{' '}
<span className="border text-orange-600 rounded text-xs ml-2 py-0 px-2">
{replyAddress}
</span>
</div>
)
)}
<div className="mt-2">
{explicitChannel && (
Expand Down

0 comments on commit 4b4bb80

Please sign in to comment.