From 02dfa8140719b02f4516716f669c8f2f67603d6b Mon Sep 17 00:00:00 2001
From: Stefano Pigozzi
Date: Fri, 4 Oct 2024 14:03:25 +0200
Subject: [PATCH] Use the same logic as the main login button for the login
tooltip in posts
---
src/pages/status.jsx | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/pages/status.jsx b/src/pages/status.jsx
index ec5a9303..110a6cfa 100644
--- a/src/pages/status.jsx
+++ b/src/pages/status.jsx
@@ -44,6 +44,11 @@ import useTitle from '../utils/useTitle';
import getInstanceStatusURL from './../utils/get-instance-status-url';
+
+const {
+ PHANPY_DEFAULT_INSTANCE: DEFAULT_INSTANCE,
+} = import.meta.env;
+
const LIMIT = 40;
const SUBCOMMENTS_OPEN_ALL_LIMIT = 10;
const MAX_WEIGHT = 5;
@@ -788,7 +793,7 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) {
not possible.
-
+
Log in