From a3f50dc38fae4c183abbb90b86806708ed889785 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Sat, 14 Mar 2026 18:09:07 +0100 Subject: [PATCH] fix: restore Peak Hours layout and hide empty Search panel Peak Hours back in its original grid position next to Campaigns. Search panel now placed below as a standalone row, and hides entirely when there's no GSC data instead of showing zeros. --- app/sites/[id]/page.tsx | 4 +--- components/dashboard/SearchPerformance.tsx | 6 +++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/sites/[id]/page.tsx b/app/sites/[id]/page.tsx index 7440315..f5714a1 100644 --- a/app/sites/[id]/page.tsx +++ b/app/sites/[id]/page.tsx @@ -615,11 +615,9 @@ export default function SiteDashboardPage() {
- -
-
+
0 || overview.total_impressions > 0) + + // Hide panel entirely if loaded but no data + if (!isLoading && !hasData) return null return (