1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-17 04:30:31 +09:00

fix: lower case the rest

This commit is contained in:
uetchy 2019-07-31 04:25:08 +09:00
parent ae617ee526
commit 410b9dc059

View File

@ -1,3 +1,3 @@
export function capitalize(text) {
return text[0].toUpperCase() + text.slice(1)
return text[0].toUpperCase() + text.slice(1).toLowerCase()
}