Skip to content

Commit 8f7cd80

Browse files
feat: update shopper agent
1 parent bb37419 commit 8f7cd80

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/template-retail-react-app/app/utils/shopper-agent-utils.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ export function launchChat() {
2222
try {
2323
const utilAPI = window.embeddedservice_bootstrap?.utilAPI
2424
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)
2825
const hideChatButtonOnLoad =
2926
window.embeddedservice_bootstrap?.settings?.hideChatButtonOnLoad === true
3027
if (hideChatButtonOnLoad && typeof utilAPI.showChatButton === 'function') {

0 commit comments

Comments
 (0)