Skip to content

Commit

Permalink
chore: remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackie1210 committed Jun 22, 2024
1 parent 816774d commit 25c6907
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/builder/gradient/linear.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,6 @@ export function buildLinearGradient(
length = diagonal * cosA
}

console.log(
calcDegree(
`${parsed.orientation.value.value}${parsed.orientation.value.unit}`
),
parsed.orientation
)
calc(
(calcDegree(
`${parsed.orientation.value.value}${parsed.orientation.value.unit}`
Expand Down
2 changes: 0 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ export function lengthToNumber(
export function calcDegree(deg: string) {
const parsed = new CssDimension(deg)

console.log(parsed)

switch (parsed.unit) {
case 'deg':
return parsed.value
Expand Down

0 comments on commit 25c6907

Please sign in to comment.