Skip to content

Commit

Permalink
minor logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
voloshinskii committed May 13, 2024
1 parent b7516ce commit a9a6801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const ConfirmStepComponent: FC<Props> = (props) => {
)}
</S.ItemRow>
<S.ItemRow>
{batteryState !== BatteryState.Empty && isBattery ? (
{isBattery ? (
<Text color={'textTertiary'} variant={'body2'}>
{t('send_screen_steps.comfirm.will_be_paid_with_battery')}
</Text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ const ConfirmStepComponent: FC<ConfirmStepProps> = (props) => {
)}
</S.ItemRow>
<S.ItemRow>
{batteryState !== BatteryState.Empty && isBattery ? (
{isBattery ? (
<S.ItemSubLabel>
{t('send_screen_steps.comfirm.will_be_paid_with_battery')}
</S.ItemSubLabel>
Expand Down

0 comments on commit a9a6801

Please sign in to comment.