We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb37419 commit 8f7cd80Copy full SHA for 8f7cd80
packages/template-retail-react-app/app/utils/shopper-agent-utils.js
@@ -22,9 +22,6 @@ export function launchChat() {
22
try {
23
const utilAPI = window.embeddedservice_bootstrap?.utilAPI
24
if (!utilAPI) return
25
-
26
- // When the floating button was hidden on load, show it first before launching
27
- // so the chat window opens correctly (Salesforce Embedded Messaging requirement)
28
const hideChatButtonOnLoad =
29
window.embeddedservice_bootstrap?.settings?.hideChatButtonOnLoad === true
30
if (hideChatButtonOnLoad && typeof utilAPI.showChatButton === 'function') {
0 commit comments