Skip to content

Commit dd3be74

Browse files
authored
fix: invalid right nav input (#565)
1 parent 67cc266 commit dd3be74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export const transformCustomId = (
243243
};
244244

245245
export function removeHtmlTag(str: string) {
246-
if (!str) {
246+
if (!str || typeof str !== "string") {
247247
return str;
248248
}
249249
const result = str

0 commit comments

Comments
 (0)