From 1bc204a48a4283d71e33b54246532487f5e04935 Mon Sep 17 00:00:00 2001
From: liangfung <1098486429@qq.com>
Date: Wed, 29 May 2024 12:01:40 +0800
Subject: [PATCH] format
---
ee/tabby-ui/app/playground/components/chats.tsx | 2 +-
ee/tabby-ui/components/chat/chat.tsx | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ee/tabby-ui/app/playground/components/chats.tsx b/ee/tabby-ui/app/playground/components/chats.tsx
index 2a5830e5e48b..46f4d6f019c3 100644
--- a/ee/tabby-ui/app/playground/components/chats.tsx
+++ b/ee/tabby-ui/app/playground/components/chats.tsx
@@ -169,7 +169,7 @@ export default function Chats() {
}
})) as typeof fetch
}
- promptFormClassname='absolute'
+ promptFormClassname="absolute"
/>
diff --git a/ee/tabby-ui/components/chat/chat.tsx b/ee/tabby-ui/components/chat/chat.tsx
index 2f51e8593953..7b63486d59eb 100644
--- a/ee/tabby-ui/components/chat/chat.tsx
+++ b/ee/tabby-ui/components/chat/chat.tsx
@@ -367,7 +367,10 @@ function ChatRenderer(
}, [])
const chatMaxWidthClass = maxWidth ? `max-w-${maxWidth}` : 'max-w-2xl'
- if (!initialized) return
+ if (!initialized)
+ return (
+
+ )
return (