import { create } from 'zustand'

interface FlashCartStore {
  addedFlashProduct: any | null
  setAddedFlashProduct: (product: any | null) => void
}

export const useFlashCartStore = create<FlashCartStore>((set) => ({
  addedFlashProduct: null,
  setAddedFlashProduct: (product) => set({ addedFlashProduct: product }),
}))
