Improve scroll anchor (#275)

This commit is contained in:
Jeremy 2024-03-20 04:37:08 +03:00 committed by GitHub
parent b6cab643ef
commit 43c7cbb21e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 169 additions and 101 deletions

View file

@ -19,7 +19,7 @@ const exampleMessages = [
}
]
export function EmptyScreen({ setInput }: Pick<UseChatHelpers, 'setInput'>) {
export function EmptyScreen() {
return (
<div className="mx-auto max-w-2xl px-4">
<div className="flex flex-col gap-2 rounded-lg border bg-background p-8">