import { create } from "zustand";

interface WsStore {
  connected: boolean;
  setConnected: (value: boolean) => void;
}

export const useWsStore = create<WsStore>((set) => ({
  connected: false,
  setConnected: (value) => set({ connected: value }),
}));