refactor(mock): remove lib/mock fixtures and empty stores
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { generateId } from "@/lib/id"
|
||||
import { mockNotifications } from "@/lib/mock"
|
||||
import type { Notification } from "@/lib/types"
|
||||
import { create } from "zustand"
|
||||
|
||||
@@ -18,7 +17,7 @@ interface NotificationState {
|
||||
}
|
||||
|
||||
export const useNotificationStore = create<NotificationState>((set) => ({
|
||||
notifications: mockNotifications,
|
||||
notifications: [],
|
||||
addNotification: (input) => {
|
||||
const notification: Notification = {
|
||||
id: generateId("notif"),
|
||||
|
||||
Reference in New Issue
Block a user