From ecaf99665a6c5b8891896233548ffa59b7c9ba1d Mon Sep 17 00:00:00 2001 From: Dries Augustyns Date: Tue, 21 Apr 2026 10:24:35 +0200 Subject: [PATCH] ui: Update empty states --- apps/web/src/pages/analytics/index.tsx | 29 ++++++++++++-------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/apps/web/src/pages/analytics/index.tsx b/apps/web/src/pages/analytics/index.tsx index 132f4dc..231c182 100644 --- a/apps/web/src/pages/analytics/index.tsx +++ b/apps/web/src/pages/analytics/index.tsx @@ -18,6 +18,7 @@ import { SelectValue, } from '@plunk/ui'; import {DashboardLayout} from '../../components/DashboardLayout'; +import {EmptyState} from '../../components/EmptyState'; import {useAnalytics} from '../../lib/hooks/useAnalytics'; import useSWR from 'swr'; import { @@ -270,13 +271,12 @@ export default function AnalyticsPage() { {!hasData ? (
-
-
- -
-

No email data yet

-

Send your first email to see analytics here.

-
+
) : ( @@ -381,15 +381,12 @@ export default function AnalyticsPage() { {!hasData ? (
-
-
- -
-

No engagement data

-

- Engagement metrics will appear once emails are opened. -

-
+
) : (