From 410b9dc0591b012f771dd9658204ae7a5d3bda9b Mon Sep 17 00:00:00 2001 From: Yasuaki Uechi Date: Wed, 31 Jul 2019 04:25:08 +0900 Subject: [PATCH] fix: lower case the rest --- src/util/text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/text.js b/src/util/text.js index 95f67a1..5870752 100644 --- a/src/util/text.js +++ b/src/util/text.js @@ -1,3 +1,3 @@ export function capitalize(text) { - return text[0].toUpperCase() + text.slice(1) + return text[0].toUpperCase() + text.slice(1).toLowerCase() }