diff --git a/docs/visao-geral.md b/docs/visao-geral.md index 7b5b82b..acb9193 100644 --- a/docs/visao-geral.md +++ b/docs/visao-geral.md @@ -2,7 +2,7 @@ ## Objetivo -O projeto representa o frontend MVP do Omnichannel Sothis. +O projeto representa o frontend MVP do Sothis Connect. O objetivo principal é demonstrar, de forma visual e convincente, como um atendente pode: diff --git a/index.html b/index.html index f2741f3..a3416d5 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - Omnichannel Sothis + Sothis Connect
diff --git a/src/modules/chat/pages/ChatPage.jsx b/src/modules/chat/pages/ChatPage.jsx index 57ba714..d0c9674 100644 --- a/src/modules/chat/pages/ChatPage.jsx +++ b/src/modules/chat/pages/ChatPage.jsx @@ -51,6 +51,7 @@ export function ChatPage() { submitTransfer, isPaused, pauseDurationLabel, + apiError, } = useChat(); const requestedChatId = searchParams.get('chatId'); const handledRequestedChatIdRef = useRef(''); @@ -132,6 +133,21 @@ export function ChatPage() { + {apiError ? ( +
+ {apiError} +
+ ) : null} +
- Sothis Omnichannel + Sothis Connect
Central de atendimento unificada