10 lines
215 B
TypeScript
10 lines
215 B
TypeScript
import { create } from "zustand";
|
|
import { socket } from "../(dispatch)/socket";
|
|
|
|
export const stationStore = create((set) => {
|
|
return {
|
|
stations: [],
|
|
setStations: (stations: any) => set({ stations }),
|
|
};
|
|
});
|