Skip to content

Commit

Permalink
Hide gas drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
mimi-imtbl committed Dec 18, 2024
1 parent e05945d commit 17a9258
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ export function AddTokens({
}, [id, experiments]);

useEffect(() => {
if (selectedRouteData?.isInsufficientGas) {
if (selectedRouteData?.isInsufficientGas && shouldDisplayRoutePriceDetails) {
setShowNotEnoughGasDrawer(true);
} else {
setShowNotEnoughGasDrawer(false);
Expand Down

0 comments on commit 17a9258

Please sign in to comment.