From f2bb9ea316eae3e08a0bf8da90f8a31e78fe507b Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Wed, 11 Jan 2023 20:23:37 -0800 Subject: [PATCH] fix onclick listener in connection info status --- .../webapp/elements/sections/connection-info.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/client/webapp/elements/sections/connection-info.tsx b/src/client/webapp/elements/sections/connection-info.tsx index 9aa61c9..4df1980 100644 --- a/src/client/webapp/elements/sections/connection-info.tsx +++ b/src/client/webapp/elements/sections/connection-info.tsx @@ -39,15 +39,22 @@ const ConnectionInfo: FC = () => { (close: () => void) => { if (guild === null) return null; if (!isLoaded(selfMember)) return null; - return ; + return ( + + ); }, [guild, selfMember], ); if (guild) { return ( -
-
+
+
{contextMenu}