uninstall unused pcks install zustand
This commit is contained in:
9
src/services/NotificationStore.ts
Normal file
9
src/services/NotificationStore.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { create } from 'zustand'
|
||||
|
||||
|
||||
|
||||
const useNotificationStore = create((set) => ({
|
||||
bears: 0,
|
||||
increasePopulation: () => set((state: any) => ({ bears: state.bears + 1 })),
|
||||
removeAllBears: () => set({ bears: 0 }),
|
||||
}))
|
||||
Reference in New Issue
Block a user