export default function getFormattedOptionsForSelect()

in front-end-resources/react-meeting/src/utils/select-options-format.ts [9:17]


export default function getFormattedOptionsForSelect(
  jsonObject: any
): SelectOptionsType[] {
  const formattedJSONObject = Object.entries(jsonObject).map(entry => ({
    value: entry[0],
    label: entry[1] as string,
  }));
  return formattedJSONObject;
}