mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 16:58:47 +01:00
Better profile document.title
This commit is contained in:
parent
13201260d6
commit
0d29043358
1 changed files with 3 additions and 1 deletions
|
@ -57,7 +57,9 @@ function AccountStatuses() {
|
|||
|
||||
const [account, setAccount] = useState();
|
||||
useTitle(
|
||||
`${account?.acct ? '@' + account.acct : 'Posts'}`,
|
||||
`${account?.displayName ? account.displayName + ' ' : ''}@${
|
||||
account?.acct ? account.acct : 'Account posts'
|
||||
}`,
|
||||
'/:instance?/a/:id',
|
||||
);
|
||||
useEffect(() => {
|
||||
|
|
Loading…
Reference in a new issue