Skip to content

Commit

Permalink
ZEUS Pay: show info and settings buttons even when error is thrown
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Nov 22, 2024
1 parent 30d3406 commit 7b42c85
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions views/Settings/LightningAddress/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ export default class LightningAddress extends React.Component<
localHashes,
paid,
fees,
error,
error_msg,
loading,
redeeming,
Expand Down Expand Up @@ -255,8 +254,8 @@ export default class LightningAddress extends React.Component<
rightComponent={
!loading && !redeeming && !redeemingAll ? (
<Row>
{fees && !error && <InfoButton />}
{lightningAddressHandle && !error && (
{fees && <InfoButton />}
{lightningAddressHandle && (
<SettingsButton />
)}
</Row>
Expand Down

0 comments on commit 7b42c85

Please sign in to comment.