mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 04:08:32 +03: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…
Add table
Reference in a new issue