Skip to content

Commit 175a224

Browse files
feat: update files
1 parent 8a75156 commit 175a224

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export function launchChat() {
2424
window.embeddedservice_bootstrap.utilAPI.launchChat()
2525
}
2626
} catch (error) {
27-
// eslint-disable-next-line no-console
2827
console.error('Shopper Agent: Error launching chat', error)
2928
}
3029
}
@@ -45,7 +44,6 @@ export function openShopperAgent() {
4544
try {
4645
launchChat()
4746
} catch (error) {
48-
// eslint-disable-next-line no-console
4947
console.error('Shopper Agent: Error opening agent', error)
5048
}
5149
}

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
77

8-
import {launchChat, openShopperAgent} from '@salesforce/retail-react-app/app/utils/shopper-agent-utils'
8+
import {
9+
launchChat,
10+
openShopperAgent
11+
} from '@salesforce/retail-react-app/app/utils/shopper-agent-utils'
912

1013
describe('shopper-agent-utils', () => {
1114
let originalWindow

0 commit comments

Comments
 (0)