Skip to content

Commit

Permalink
fix: del px and remove {} ant-design#6253
Browse files Browse the repository at this point in the history
  • Loading branch information
19Qingfeng committed Aug 10, 2023
1 parent 9dda031 commit 67dc672
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/utils/tests/use-lock-scroll.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@ describe('useLockScroll', () => {
ref={divRef}
data-testid='lock'
style={{
height: '200px',
height: 200,
overflow: 'scroll',
cursor: 'grab',
touchAction: 'none',
}}
onTouchMove={() => props.handleTouch && props.handleTouch()}
>
{new Array(10).fill({}).map((_, i) => (
<h1 key={i} style={{ height: '25px' }}>
{' '}
<h1 key={i} style={{ height: 25 }}>
Test component {i}
</h1>
))}
Expand Down

0 comments on commit 67dc672

Please sign in to comment.