fix: customer => warning

This commit is contained in:
puriphatt 2024-12-10 15:55:01 +07:00
parent 682d6cdae8
commit a5dd047ee5
3 changed files with 42 additions and 27 deletions

View file

@ -533,3 +533,7 @@ export function changeMode(mode: string) {
return;
}
}
export function capitalizeFirstLetter(val: string) {
return String(val).charAt(0).toUpperCase() + String(val).slice(1);
}