import { create } from 'zustand'

interface ServerState {
  servedBy: string | null
  setServedBy: (id: string | null) => void
}

export const useServerStore = create<ServerState>((set) => ({
  servedBy: null,
  setServedBy: (servedBy) => set({ servedBy }),
}))
