From 2de5472103080fb70de0039f41cc3ded498ddb52 Mon Sep 17 00:00:00 2001 From: cbh778899 Date: Tue, 15 Oct 2024 15:20:39 +1100 Subject: [PATCH] return a blank page if nothing set to avoid bugs Signed-off-by: cbh778899 --- src/components/chat/index.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/chat/index.jsx b/src/components/chat/index.jsx index b9a3424..956fb3a 100644 --- a/src/components/chat/index.jsx +++ b/src/components/chat/index.jsx @@ -137,6 +137,7 @@ export default function Chat() { }, [chat]) return ( + settings.current ?
-
+ : + <> ) } \ No newline at end of file