We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65cfacc commit e11453eCopy full SHA for e11453e
packages/odie-client/src/components/message/messages-container.tsx
@@ -66,9 +66,7 @@ export const MessagesContainer = ( { currentUser }: ChatMessagesProps ) => {
66
const helpCenterSelect: HelpCenterSelect = select( HELP_CENTER_STORE );
67
const currentInteraction = helpCenterSelect.getCurrentSupportInteraction();
68
return {
69
- alreadyHasActiveZendeskChat:
70
- interactionHasZendeskEvent( currentInteraction ) &&
71
- ! interactionHasEnded( currentInteraction ),
+ alreadyHasActiveZendeskChat: interactionHasZendeskEvent( currentInteraction ),
72
chatHasEnded: interactionHasEnded( currentInteraction ),
73
};
74
}, [] );
0 commit comments