remove: console.log from utils.camelCaseToKebabCase()

This commit is contained in:
flx-sta 2024-09-19 10:20:25 -07:00
parent b44096c8ae
commit 26d0e80f91

View File

@ -647,6 +647,5 @@ export function animationFileName(move: Moves): string {
* @source {@link https://stackoverflow.com/a/67243723/}
*/
export function camelCaseToKebabCase(str: string): string {
console.log("str:", str);
return str.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (s, o) => (o ? "-" : "") + s.toLowerCase());
}