Skip to content

Commit d795c34

Browse files
committed
GPT review
1 parent 463b9f0 commit d795c34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/gitbook/src/components/AIChat/AIChat.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,13 @@ export function AIChatBody(props: {
243243
style={{ animationDelay: '.5s' }}
244244
data-testid="ai-chat-time-greeting"
245245
>
246-
{greeting?.title ?? timeGreeting}
246+
{greeting?.title || timeGreeting}
247247
</h5>
248248
<p
249249
className="animate-blur-in-slow text-tint leading-tight [@container(min-height:400px)]:text-center"
250250
style={{ animationDelay: '.6s' }}
251251
>
252-
{greeting?.subtitle ??
252+
{greeting?.subtitle ||
253253
t(language, 'ai_chat_assistant_description')}
254254
</p>
255255
</div>

0 commit comments

Comments
 (0)