From 05f1ec7b34f1563c4bcfcdc497f8c786eab58210 Mon Sep 17 00:00:00 2001 From: coolcoala Date: Mon, 21 Jul 2025 01:57:37 +0300 Subject: [PATCH] added that it is not possible to enable proxy if no profile is available --- src/pages/home.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/home.tsx b/src/pages/home.tsx index d385b839..410217f9 100644 --- a/src/pages/home.tsx +++ b/src/pages/home.tsx @@ -240,14 +240,14 @@ const MinimalHomePage: React.FC = () => { href={currentProfile.announce_url} target="_blank" rel="noopener noreferrer" - className="inline-flex items-center gap-2 text-base font-semibold text-foreground hover:underline hover:opacity-80 transition-all" - title={currentProfile.announce_url} + className="inline-flex items-center gap-2 text-base font-semibold text-foreground hover:underline hover:opacity-80 transition-all whitespace-pre-wrap" + title={currentProfile.announce_url.replace(/\\n/g, '\n')} > - {currentProfile.announce} + {currentProfile.announce.replace(/\\n/g, '\n')} ) : ( -

+

{currentProfile.announce}

)} @@ -268,7 +268,7 @@ const MinimalHomePage: React.FC = () => {