Skip to content

Commit

Permalink
Merge pull request #108 from oasisprotocol/csillag/fix-gasless-race-c…
Browse files Browse the repository at this point in the history
…ondition

Don't display "gasRequired" indicator while checking status
  • Loading branch information
csillag authored Oct 30, 2024
2 parents c3383bb + b35eabe commit d8fb6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/icons/GasRequiredIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const GasRequiredIcon: FC<{ linkAllowed: boolean }> = ({ linkAllowed }) => {
}

export const showGaslessPossible = (gaslessPossible: boolean | undefined, linkAllowed = false) =>
gaslessPossible ? (
gaslessPossible === undefined ? undefined : gaslessPossible ? (
designDecisions.hideGaslessIndicator ? undefined : (
<NoGasRequiredIcon />
)
Expand Down

0 comments on commit d8fb6a5

Please sign in to comment.