Skip to content

Commit

Permalink
fix(gas-card): active button css
Browse files Browse the repository at this point in the history
  • Loading branch information
jagnani73 committed Sep 20, 2024
1 parent e5f95d8 commit 64f5668
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/Molecules/GasCard/GasCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ export const GasCard: React.FC<GasCardProps> = ({ chain_name }) => {
<Button
disabled={!maybeResult.isDefined}
variant={
selectedValue ? "primary" : "outline"
selectedValue === "erc"
? "primary"
: "outline"
}
onClick={() => setSelectedValue("erc")}
size={"sm"}
Expand All @@ -236,7 +238,9 @@ export const GasCard: React.FC<GasCardProps> = ({ chain_name }) => {
<Button
disabled={!maybeResult.isDefined}
variant={
!selectedValue ? "primary" : "outline"
selectedValue === "native"
? "primary"
: "outline"
}
onClick={() => setSelectedValue("native")}
size={"sm"}
Expand Down

0 comments on commit 64f5668

Please sign in to comment.