File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
packages/template-retail-react-app/app/utils Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change 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
1013describe ( 'shopper-agent-utils' , ( ) => {
1114 let originalWindow
You can’t perform that action at this time.
0 commit comments