@@ -300,7 +300,7 @@ export const Bot = (botProps: BotProps & { class?: string }) => {
300300 // drag & drop
301301 const [ isDragActive , setIsDragActive ] = createSignal ( false ) ;
302302 const [ uploadedFiles , setUploadedFiles ] = createSignal < { file : File ; type : string } [ ] > ( [ ] ) ;
303- const [ fullFileUploadAllowedTypes , setFullFileUploadAllowedTypes ] = createSignal ( '*' )
303+ const [ fullFileUploadAllowedTypes , setFullFileUploadAllowedTypes ] = createSignal ( '*' ) ;
304304
305305 createMemo ( ( ) => {
306306 const customerId = ( props . chatflowConfig ?. vars as any ) ?. customerId ;
@@ -536,9 +536,9 @@ export const Bot = (botProps: BotProps & { class?: string }) => {
536536 }
537537
538538 if ( data . followUpPrompts ) {
539- let followUpPrompts = data . followUpPrompts
539+ let followUpPrompts = data . followUpPrompts ;
540540 if ( typeof followUpPrompts === 'string' ) {
541- followUpPrompts = JSON . parse ( followUpPrompts )
541+ followUpPrompts = JSON . parse ( followUpPrompts ) ;
542542 }
543543 setMessages ( ( prevMessages ) => {
544544 const allMessages = [ ...cloneDeep ( prevMessages ) ] ;
@@ -1042,7 +1042,7 @@ export const Bot = (botProps: BotProps & { class?: string }) => {
10421042 if ( chatbotConfig . fullFileUpload ) {
10431043 setFullFileUpload ( chatbotConfig . fullFileUpload . status ) ;
10441044 if ( chatbotConfig . fullFileUpload ?. allowedUploadFileTypes ) {
1045- setFullFileUploadAllowedTypes ( chatbotConfig . fullFileUpload ?. allowedUploadFileTypes )
1045+ setFullFileUploadAllowedTypes ( chatbotConfig . fullFileUpload ?. allowedUploadFileTypes ) ;
10461046 }
10471047 }
10481048 }
0 commit comments