fix: clear emojis from head title (#111)
parent
94cd7c72f6
commit
2cf970225f
|
@ -6,7 +6,7 @@ const account = await fetchAccountByName(accountName).catch(() => null)
|
||||||
|
|
||||||
if (account) {
|
if (account) {
|
||||||
useHead({
|
useHead({
|
||||||
title: `${account.displayName} (@${account.acct})`,
|
title: () => `${account.displayName?.replace(/\:\w+\:/g, '') ?? ''} (@${account.acct})`,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue