import state from "../store";
export default function getMaterialOptions() {
  return ((state === null || state === void 0 ? void 0 : state.materials) || []).map((material) => ({
    label: (material === null || material === void 0 ? void 0 : material.name) || "Unknown Material",
    value: material === null || material === void 0 ? void 0 : material.id,
  }));
}
