fix: the behavior of save action in opening config panel (#2736)

pull/2739/head^2
crazywoola 2 years ago committed by GitHub
parent 24809fce07
commit 9440d7fe88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -95,7 +95,10 @@ const ConfigPanel = () => {
<Button
type='primary'
className='mr-2 text-sm font-medium'
onClick={handleStartChat}
onClick={() => {
setCollapsed(true)
handleStartChat()
}}
>
{t('common.operation.save')}
</Button>

Loading…
Cancel
Save