Skip to content

Commit

Permalink
Update Generator.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
babaohuang committed Dec 16, 2023
1 parent 7d253bd commit 641b85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Generator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default () => {
const [loading, setLoading] = createSignal(false)
const [controller, setController] = createSignal<AbortController>(null)
const [isStick, setStick] = createSignal(false)
const maxHistoryMessages = parseInt(import.meta.env.PUBLIC_MAX_HISTORY_MESSAGES || '9')
const maxHistoryMessages = parseInt(import.meta.env.PUBLIC_MAX_HISTORY_MESSAGES || '99')

createEffect(() => (isStick() && smoothToBottom()))

Expand Down

1 comment on commit 641b85a

@vercel
Copy link

@vercel vercel bot commented on 641b85a Dec 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.