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:
parent
ae617ee526
commit
410b9dc059
@ -1,3 +1,3 @@
|
||||
export function capitalize(text) {
|
||||
return text[0].toUpperCase() + text.slice(1)
|
||||
return text[0].toUpperCase() + text.slice(1).toLowerCase()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user