mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-25 18:55:44 +03:00
Fix wrong authenticated
This commit is contained in:
parent
15a75e1ed0
commit
b4a8e60144
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ function Hashtags(props) {
|
|||
hashtags.sort();
|
||||
hashtag = hashtags[0];
|
||||
|
||||
const { masto, instance, authenticated } = api({ instance: params.instance });
|
||||
const { masto, instance } = api({ instance: params.instance });
|
||||
const { authenticated } = api();
|
||||
const hashtagTitle = hashtags.map((t) => `#${t}`).join(' ');
|
||||
const title = instance ? `${hashtagTitle} on ${instance}` : hashtagTitle;
|
||||
useTitle(title, `/:instance?/t/:hashtag`);
|
||||
|
|
Loading…
Reference in a new issue