Client - use existing vue method

This commit is contained in:
Sam
2021-10-23 15:41:51 +02:00
parent d78470062d
commit 8efbc4584e
3 changed files with 3 additions and 6 deletions

View File

@ -51,6 +51,3 @@ export const handleError = (
: `api.ERROR.${removeLastDot(errorMessages)}`
)
}
export const capitalize = (text: string): string =>
text.charAt(0).toUpperCase() + text.slice(1)