From b35eabe8ba932fc99ec795c90c5874ac072fed10 Mon Sep 17 00:00:00 2001 From: Kristof Csillag Date: Wed, 30 Oct 2024 05:33:02 +0100 Subject: [PATCH] Don't display "gasRequired" indicator while checking status --- frontend/src/components/icons/GasRequiredIcon.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/icons/GasRequiredIcon.tsx b/frontend/src/components/icons/GasRequiredIcon.tsx index 475a60c..4916695 100644 --- a/frontend/src/components/icons/GasRequiredIcon.tsx +++ b/frontend/src/components/icons/GasRequiredIcon.tsx @@ -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 : ( )