diff --git a/ui/snippets/searchBar/SearchBar.pw.tsx b/ui/snippets/searchBar/SearchBar.pw.tsx
index 004bc7d78b..ca7e6b32f0 100644
--- a/ui/snippets/searchBar/SearchBar.pw.tsx
+++ b/ui/snippets/searchBar/SearchBar.pw.tsx
@@ -1,4 +1,3 @@
-import { LightMode } from '@chakra-ui/react';
import { test as base, expect } from '@playwright/experimental-ct-react';
import React from 'react';
@@ -93,9 +92,7 @@ test('search by name homepage +@dark-mode', async({ mount, page }) => {
await mount(
-
-
-
+
,
);
await page.getByPlaceholder(/search/i).type('o');
diff --git a/ui/snippets/searchBar/SearchBar.tsx b/ui/snippets/searchBar/SearchBar.tsx
index 54800d7237..1e1dfadb35 100644
--- a/ui/snippets/searchBar/SearchBar.tsx
+++ b/ui/snippets/searchBar/SearchBar.tsx
@@ -132,12 +132,6 @@ const SearchBar = ({ isHomepage }: Props) => {
{
${ Number(data.coin_price).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 6 }) }
) }
- { data?.coin_price && data.gas_prices && }
- { data?.gas_prices && (
+ { data?.coin_price && config.UI.homepage.showGasTracker && }
+ { data?.gas_prices && config.UI.homepage.showGasTracker && (
Gas: { data.gas_prices.average } Gwei