Skip to content

Commit

Permalink
fix(suite): Cardano withdraw modal UI - buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirvolek committed Jan 5, 2025
1 parent 8b5cd37 commit cdead7b
Showing 1 changed file with 5 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
import {
Button,
Icon,
Link,
NewModal,
Row,
Column,
Text,
Card,
Paragraph,
} from '@trezor/components';
import { Icon, Link, NewModal, Row, Column, Text, Card, Paragraph } from '@trezor/components';
import { spacings } from '@trezor/theme';
import { getNetworkName } from '@suite-common/wallet-utils';

Expand Down Expand Up @@ -37,12 +27,12 @@ export const CardanoWithdrawModal = ({ onCancel }: { onCancel: () => void }) =>
heading={<Translation id="TR_CARDANO_WITHDRAW_MODAL_TITLE" />}
bottomContent={
<>
<Button onClick={() => voteDelegate()}>
<NewModal.Button onClick={() => voteDelegate()}>
<Translation id="TR_CARDANO_WITHDRAW_MODAL_BUTTON_DELEGATE" />
</Button>
<Button onClick={() => voteAbstain()} variant="tertiary">
</NewModal.Button>
<NewModal.Button onClick={() => voteAbstain()} variant="tertiary">
<Translation id="TR_CARDANO_WITHDRAW_MODAL_BUTTON_ABSTAIN" />
</Button>
</NewModal.Button>
</>
}
>
Expand Down

0 comments on commit cdead7b

Please sign in to comment.