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. -

-
+
) : (