Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfung committed May 29, 2024
1 parent cd3d0e4 commit 1bc204a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ee/tabby-ui/app/playground/components/chats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export default function Chats() {
}
})) as typeof fetch
}
promptFormClassname='absolute'
promptFormClassname="absolute"
/>
</div>
</ScrollArea>
Expand Down
5 changes: 4 additions & 1 deletion ee/tabby-ui/components/chat/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,10 @@ function ChatRenderer(
}, [])

const chatMaxWidthClass = maxWidth ? `max-w-${maxWidth}` : 'max-w-2xl'
if (!initialized) return <ListSkeleton className={`${chatMaxWidthClass} mx-auto pt-4 md:pt-10`} />
if (!initialized)
return (
<ListSkeleton className={`${chatMaxWidthClass} mx-auto pt-4 md:pt-10`} />
)

return (
<ChatContext.Provider
Expand Down

0 comments on commit 1bc204a

Please sign in to comment.