Skip to content

Commit

Permalink
chore: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
tuul-wq committed Apr 9, 2024
1 parent 20ff05a commit d19d83c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/renderer/widgets/Staking/BondExtra/ui/BondExtra.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,12 @@ export const BondExtra = () => {
onClose={closeModal}
>
{bondExtraUtils.isInitStep(step) && <BondForm onGoBack={closeModal} />}
{bondExtraUtils.isConfirmStep(step) && <Confirmation onGoBack={() => bondExtraModel.events.stepChanged(Step.INIT)} />}
{bondExtraUtils.isSignStep(step) && <OperationSign onGoBack={() => bondExtraModel.events.stepChanged(Step.CONFIRM)} />}
{bondExtraUtils.isConfirmStep(step) && (
<Confirmation onGoBack={() => bondExtraModel.events.stepChanged(Step.INIT)} />
)}
{bondExtraUtils.isSignStep(step) && (
<OperationSign onGoBack={() => bondExtraModel.events.stepChanged(Step.CONFIRM)} />
)}
</BaseModal>
);
};

0 comments on commit d19d83c

Please sign in to comment.