import { create } from 'zustand'

type StationTab = 'pos' | 'repairs' | 'lessons'

interface StationState {
  activeTab: StationTab
  setActiveTab: (tab: StationTab) => void
}

export const useStationStore = create<StationState>((set) => ({
  activeTab: 'pos',
  setActiveTab: (tab) => set({ activeTab: tab }),
}))
