import { create } from 'zustand'; import type { QuickDeliveryState as SharedQuickDeliveryState } from '@packages/shared'; // user-ui only reads/hides the drawer — no setDrawerHidden action here type QuickDeliveryState = Omit export const useQuickDeliveryStore = create((set) => ({ isDrawerHidden: false, selectedSlotId: null, setSelectedSlotId: (slotId) => set({ selectedSlotId: slotId }), }));