Capitalize string
02/03/2020A small helper function to capitalise the first word in a string.
export const capitalize = string => {
return string.charAt(0).toUpperCase() + string.substring(1)
}
A small helper function to capitalise the first word in a string.
export const capitalize = string => {
return string.charAt(0).toUpperCase() + string.substring(1)
}