Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
angorayc committed Oct 28, 2022
1 parent 66d2f47 commit 79cd54c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,8 @@ export function withAutoScale<T>(WrappedComponent: ComponentType<T>) {
}, [renderComplete, resized]);

return (
<div
className="auto-scale-parent"
ref={parentRef}
style={autoScaleParams?.containerStyles}
css={autoScaleWrapperStyle}
>
<div ref={parentRef} style={autoScaleParams?.containerStyles} css={autoScaleWrapperStyle}>
<div
className="auto-scale-child"
ref={childrenRef}
style={{
transform: `scale(${scale || 0})`,
Expand Down

0 comments on commit 79cd54c

Please sign in to comment.