Skip to content

Commit

Permalink
Removing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Dec 5, 2022
1 parent 94cc0cf commit 2bdbd67
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/framer-motion/src/render/svg/utils/build-attrs.ts
Expand Up @@ -27,7 +27,7 @@ export function buildSVGAttrs(
transformTemplate?: MotionProps["transformTemplate"]
) {
buildHTMLStyles(state, latest, options, transformTemplate)
console.log(state.attrs, state.style)

/**
* For svg tags we just want to make sure viewBox is animatable and treat all the styles
* as normal HTML tags.
Expand Down
1 change: 0 additions & 1 deletion packages/framer-motion/src/render/svg/utils/render.ts
Expand Up @@ -14,7 +14,6 @@ export function renderSVG(
renderHTML(element as any, renderState, undefined, projection)

for (const key in renderState.attrs) {
console.log(key, renderState.attrs)
element.setAttribute(
!camelCaseAttributes.has(key) ? camelToDash(key) : key,
renderState.attrs[key] as string
Expand Down

0 comments on commit 2bdbd67

Please sign in to comment.