Skip to content

Commit 5206084

Browse files
committed
fix: update button color
1 parent ac65828 commit 5206084

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

front-end/src/components/Step1.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ const Step1: React.FC<Props> = ({ handleNext }) => {
255255
</TipsBox>
256256
<div>
257257
<Button
258-
variant="flat"
258+
variant={!support || btnDisabled ? "secondary" : "primary"}
259259
onClick={() => nextPage()}
260260
disabled={!support || btnDisabled}
261261
>

front-end/src/components/Step2.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ const Step2: React.FC<Props> = ({ handleNext, handlePrev }) => {
895895
<div className="ml2">
896896
<div className="d-flex align-items-center gap-3">
897897
<Button
898-
variant="flat"
898+
variant={showLoading ? "secondary" : "primary"}
899899
onClick={doApprove}
900900
disabled={showLoading}
901901
>
@@ -933,7 +933,7 @@ const Step2: React.FC<Props> = ({ handleNext, handlePrev }) => {
933933
Back
934934
</Button>
935935
<Button
936-
variant="flat"
936+
variant={showLoading ? "secondary" : "primary"}
937937
onClick={doSend}
938938
disabled={showLoading}
939939
>

0 commit comments

Comments
 (0)