Skip to content

Commit

Permalink
fix: Gas card button
Browse files Browse the repository at this point in the history
  • Loading branch information
karanpargal committed Oct 3, 2024
1 parent e5f95d8 commit aad2981
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 aad2981

Please sign in to comment.