Skip to content

Commit a0834c9

Browse files
committed
perf(widget-tiktok-pixel): remove uncessary import and debug
1 parent 321d9f8 commit a0834c9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

@ecomplus/widget-tiktok-pixel/src/lib/watch-app-routes.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import ecomCart from '@ecomplus/shopping-cart'
2-
import ecomPassport from '@ecomplus/passport-client'
32
import { currency } from './common'
43

54
export default (ttq, options) => {
@@ -23,7 +22,7 @@ export default (ttq, options) => {
2322
data.contents.push({
2423
content_id: sku,
2524
content_name: name,
26-
price: price,
25+
price,
2726
content_type: 'product',
2827
quantity
2928
})
@@ -67,7 +66,6 @@ export default (ttq, options) => {
6766

6867
let emitPurchaseTimer
6968
const addRouteToData = ({ name, params }) => {
70-
console.log(params)
7169
switch (name) {
7270
case 'cart':
7371
emitCheckout(1)

0 commit comments

Comments
 (0)