Skip to content

Commit

Permalink
chore: rm console
Browse files Browse the repository at this point in the history
  • Loading branch information
jeasonstudio committed Jun 20, 2024
1 parent a293a9a commit 0d151c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const HomePage: React.FC<unknown> = () => {
setLoading(false);
const cost = Date.now() - startTimestamp;
console.log('cost:', cost, 'ms');
console.log('result:', result);
} catch (error) {
setLoading(false);
setError((error as any).message);
Expand Down Expand Up @@ -69,7 +68,7 @@ const HomePage: React.FC<unknown> = () => {
</div>
<div className="z-10 m-auto flex w-full flex-col overflow-hidden sm:max-w-xl">
<PromptCard onPrompt={onPrompt} />
<div className="pt-4">
<div className="pt-8">
<ChatCard message={result} loading={loading} />
{error && (
<Alert variant="destructive">
Expand Down

0 comments on commit 0d151c5

Please sign in to comment.