import state from "../store";
import capitalizeFirstLetter from "./capitalizeFirstLetter";
export default () => ((state === null || state === void 0 ? void 0 : state.roles) || []).map((role) => ({
  label: capitalizeFirstLetter(role),
  value: role,
}));
