Skip to content

Commit 4b4bb80

Browse files
fix: do not show empty reply address (#1037)
1 parent d2ebc57 commit 4b4bb80

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

library/src/containers/Operations/Operation.tsx

+9-7
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,15 @@ export const OperationReplyInfo: React.FunctionComponent<Props> = (props) => {
284284
</span>
285285
</div>
286286
) : (
287-
<div className="text-xs text-gray-700">
288-
Reply will be directed to the address specified at this
289-
location:{' '}
290-
<span className="border text-orange-600 rounded text-xs ml-2 py-0 px-2">
291-
{replyAddress}
292-
</span>
293-
</div>
287+
replyAddress != null && (
288+
<div className="text-xs text-gray-700">
289+
Reply will be directed to the address specified at this
290+
location:{' '}
291+
<span className="border text-orange-600 rounded text-xs ml-2 py-0 px-2">
292+
{replyAddress}
293+
</span>
294+
</div>
295+
)
294296
)}
295297
<div className="mt-2">
296298
{explicitChannel && (

0 commit comments

Comments
 (0)