export const getLabelsList = (categories) => categories.map((label, i) => ({ label, value: i }))