Refactor(common): Remove unused console log

This commit is contained in:
2024-10-31 16:03:21 +08:00
parent 7fdd2b2465
commit 51dc1ed377

View File

@@ -215,7 +215,6 @@ const substringByByte = (str: string, start: number, length: number) => {
}
export const omitTextByByte = (text: string, length: number) => {
console.log(getByteLength(text))
if (getByteLength(text) <= length) {
return text
}