Skip to content

Commit

Permalink
fix: adjust connect button color
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Nov 23, 2022
1 parent 57d54b2 commit 68b45a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/widget/src/components/SwapButton/SwapButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const SwapButton = forwardRef<HTMLButtonElement, SwapButtonProps>(
return (
<LoadingButton
variant="contained"
color={account.isActive ? 'primary' : 'success'}
color="primary"
onClick={handleSwapButtonClick}
disabled={insufficientFunds || !!insufficientGas?.length || disable}
loading={enableLoading && (loading || isGasSufficiencyLoading)}
Expand Down

0 comments on commit 68b45a9

Please sign in to comment.