Added clarification to comment

This commit is contained in:
Dark_Phoenix_ committed 2025-05-18 21:12:34 +02:00
1 parent 91da9baed4
commit c016ed8ba9
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ function toPaddedHex(num: number) {
function toUTF8(codePoint: number) {
const utf8String = utf8.encode(String.fromCodePoint(codePoint));
const bytes = [...utf8String].map(c => `\\x${c.codePointAt(0)?.toString(16).toUpperCase()}`);
return bytes.join(''); // Join the array into a single string
return bytes.join(''); // Join the string array into a single string to fix a bug where it would otherwise join the array items with a comma
}
const searchQuery = useDebouncedRef('', 250);