mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-13 06:04:13 -04:00
Update react-motion spring argument signature
This commit is contained in:
@@ -148,7 +148,7 @@ export default contain(
|
||||
xs={ 8 }
|
||||
xsOffset={ 2 }>
|
||||
<Row>
|
||||
<Motion style={{ x: spring(x, [120, 10]) }}>
|
||||
<Motion style={{ x: spring(x, { stiffness: 120, damping: 10 }) }}>
|
||||
{ questionElement }
|
||||
</Motion>
|
||||
<div className='spacer' />
|
||||
|
||||
Reference in New Issue
Block a user