mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-25 01:08:50 +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();
|
const [account, setAccount] = useState();
|
||||||
useTitle(
|
useTitle(
|
||||||
`${account?.acct ? '@' + account.acct : 'Posts'}`,
|
`${account?.displayName ? account.displayName + ' ' : ''}@${
|
||||||
|
account?.acct ? account.acct : 'Account posts'
|
||||||
|
}`,
|
||||||
'/:instance?/a/:id',
|
'/:instance?/a/:id',
|
||||||
);
|
);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
Loading…
Reference in a new issue