Skip to content

Commit

Permalink
Replace link with a button
Browse files Browse the repository at this point in the history
  • Loading branch information
lubej committed Feb 12, 2024
1 parent 5a8a352 commit 1045003
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/components/WrapFeeWarningModal/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
}

.wrapFeeWarningModalFullAmount {
background: none;
border: none;
padding: 0;
font: inherit;
outline: inherit;
color: var(--danger);
text-decoration: underline;
cursor: pointer;
Expand Down
4 changes: 2 additions & 2 deletions src/components/WrapFeeWarningModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ export const WrapFeeWarningModal: FC<WrapFeeWarningModalProps> = ({ isOpen, clos
<span className={classes.wrapFeeWarningModalButtonText}>Wrap reduced amount</span>
</Button>

<a className={classes.wrapFeeWarningModalFullAmount} href={void 0} onClick={() => next(amount!)}>
<button className={classes.wrapFeeWarningModalFullAmount} onClick={() => next(amount!)}>
Continue with full amount
</a>
</button>
</div>
</div>
</Modal>
Expand Down

0 comments on commit 1045003

Please sign in to comment.