Update examples and improve stability (#271)

This commit is contained in:
Jeremy 2024-03-19 01:35:03 +03:00 committed by GitHub
parent 25e4128e25
commit 70ed5c4f47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 118 additions and 101 deletions

5
app/new/page.tsx Normal file
View file

@ -0,0 +1,5 @@
import { redirect } from 'next/navigation'
export default async function NewPage() {
redirect('/')
}

View file

@ -49,7 +49,7 @@ export default async function SharePage({ params }: SharePageProps) {
</div>
</div>
<AI>
<ChatList messages={uiState} />
<ChatList messages={uiState} isShared={true} />
</AI>
</div>
<FooterText className="py-8" />