hide download chat button during chat generation

Fixes #57
This commit is contained in:
Jing Hua 2023-03-11 19:28:07 +08:00
parent 443d4d3454
commit d00984ba81

View file

@ -91,7 +91,9 @@ const ChatContent = () => {
</div> </div>
)} )}
<div className='mt-4'> <div className='mt-4'>
<DownloadChat saveRef={saveRef} /> {useStore.getState().generating || (
<DownloadChat saveRef={saveRef} />
)}
</div> </div>
<div className='w-full h-36'></div> <div className='w-full h-36'></div>
</div> </div>