import state from "../store";
export default function getLocationOptions() {
  return ((state === null || state === void 0 ? void 0 : state.locations) || []).map((location) => ({
    label: (location === null || location === void 0 ? void 0 : location.name) || "Unknown Location",
    value: location === null || location === void 0 ? void 0 : location.id,
  }));
}
//# sourceMappingURL=getLocationOptions.js.map