From b4a8e60144b9cdd7d1b8f34a60c982110e728401 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sat, 25 Feb 2023 12:40:59 +0800 Subject: [PATCH] Fix wrong authenticated --- src/pages/hashtag.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/hashtag.jsx b/src/pages/hashtag.jsx index 5b58eca6..67de91aa 100644 --- a/src/pages/hashtag.jsx +++ b/src/pages/hashtag.jsx @@ -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`);