diff --git a/apps/dashboard/src/components/notifications/notification-provider.tsx b/apps/dashboard/src/components/notifications/notification-provider.tsx
index 1e125893..0824ab35 100644
--- a/apps/dashboard/src/components/notifications/notification-provider.tsx
+++ b/apps/dashboard/src/components/notifications/notification-provider.tsx
@@ -6,6 +6,15 @@ import { toast } from 'sonner';
export function NotificationProvider() {
const { projectId } = useAppParams();
+
+ if (!projectId) return null;
+
+ return ;
+}
+
+export function InnerNotificationProvider({
+ projectId,
+}: { projectId: string }) {
useWS(`/live/notifications/${projectId}`, (notification) => {
toast(notification.title, {
description: notification.message,