Commit 56a93644 authored by Thor-Herman's avatar Thor-Herman
Browse files

Fix picker options text #7

parent 46c5ad51
......@@ -32,8 +32,13 @@ const OrderingPicker = () => {
dispatch(changeOrdering({ key, order }));
};
// Each of the selectable options in the picker. Changed so that they start with an upper case
const pickerItems = orderingOptions.map((option) => (
<Picker.Item label={`${_.startCase(option)}`} value={option} key={option} />
<Picker.Item
label={`${option[0].toUpperCase() + option.slice(1)}`}
value={option}
key={option}
/>
));
return (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment