Skip to content

Commit baa541d

Browse files
committed
chore: remove console
1 parent bec343d commit baa541d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/utils/src/scrollTo.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export function scrollTo(
3434
const top = options.top;
3535
const left = options.left;
3636
const distance = Math.max(isNumber(top) ? Math.abs(top - startTop) : 0, isNumber(left) ? Math.abs(left - startLeft) : 0);
37-
console.log(Math.min(distance / (isNumber(top) ? el.clientHeight : el.clientWidth), 1));
3837
const during = Math.max(
3938
Math.sin((Math.PI / 2) * Math.min(distance / (isNumber(top) ? el.clientHeight : el.clientWidth), 1)) *
4039
(options.during ?? MAX_DURING_TIME),

0 commit comments

Comments
 (0)