diff --git a/src/lib/domHelpers.ts b/src/lib/domHelpers.ts index d405523..b8b1270 100644 --- a/src/lib/domHelpers.ts +++ b/src/lib/domHelpers.ts @@ -33,7 +33,7 @@ export const removeReloadEl = () => { export const getAccountNameAndDisplayName = (userCell: Element) => { const [avatarEl, displayNameEl] = userCell?.querySelectorAll("a") const twAccountName = avatarEl?.getAttribute("href")?.replace("/", "") - const twAccountNameRemoveUnderscore = twAccountName.replace("_", "") // bsky does not allow underscore in handle. so remove it. + const twAccountNameRemoveUnderscore = twAccountName.replaceAll("_", "") // bsky does not allow underscores in handle, so remove them. const twDisplayName = displayNameEl?.textContent return { twAccountName, twDisplayName, twAccountNameRemoveUnderscore } }