From 509bd64753004967967c5928db4e9a52b3e8ee11 Mon Sep 17 00:00:00 2001 From: Codebox124 Date: Tue, 28 Nov 2023 19:51:54 +0100 Subject: [PATCH] added a dummy data --- src/state/notificationStore.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/state/notificationStore.ts b/src/state/notificationStore.ts index 6ce54d3..858afb6 100644 --- a/src/state/notificationStore.ts +++ b/src/state/notificationStore.ts @@ -17,7 +17,16 @@ type Store = { const useNotificationStore = create()( persist( devtools((set, get) => ({ - notification: [], + notification: [ + { + id: "1", + avatar: "", + message:"Hello world", + name:"Hello world", + time: new Date() , + userId:"1" + } + ], // fetchNotifications: async () => { // try {