Skip to content

Commit

Permalink
fix: invalid right nav input (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
shhdgit authored Dec 11, 2024
1 parent 67cc266 commit dd3be74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export const transformCustomId = (
};

export function removeHtmlTag(str: string) {
if (!str) {
if (!str || typeof str !== "string") {
return str;
}
const result = str
Expand Down

0 comments on commit dd3be74

Please sign in to comment.