Refactor(common): Remove unused console log

This commit is contained in:
2024-10-31 11:51:39 +08:00
parent 550383bfec
commit 9c988327fd

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
}