diff --git a/src/components/Chat/chatUtils.ts b/src/components/Chat/chatUtils.ts index b9285af..affbbfa 100644 --- a/src/components/Chat/chatUtils.ts +++ b/src/components/Chat/chatUtils.ts @@ -46,7 +46,7 @@ export const createChatBotMessage = ( return { ...createChatMessage(message, 'bot'), ...options, - loading: true, + loading: options.loading !== undefined ? options.loading : true, }; };