Add files via upload
This commit is contained in:
@@ -5,8 +5,9 @@ const useFocusStore = create((set) => ({
|
||||
projectId: null,
|
||||
activeDeliverableId: null,
|
||||
|
||||
openFocus: (projectId, deliverableId) => set({ isOpen: true, projectId, activeDeliverableId: deliverableId }),
|
||||
closeFocus: () => set({ isOpen: false, projectId: null, activeDeliverableId: null }),
|
||||
openFocus: (projectId, deliverableId) => set({ isOpen: true, projectId, activeDeliverableId: deliverableId }),
|
||||
closeFocus: () => set({ isOpen: false, projectId: null, activeDeliverableId: null }),
|
||||
setActiveDeliverable: (id) => set({ activeDeliverableId: id }),
|
||||
}))
|
||||
|
||||
export default useFocusStore
|
||||
|
||||
Reference in New Issue
Block a user