Skip to content

Commit ef0255f

Browse files
committed
chore(deps): replace react-motion library for obj. literal
Refs #7341
1 parent d1b9964 commit ef0255f

File tree

3 files changed

+4
-19
lines changed

3 files changed

+4
-19
lines changed

package-lock.json

+3-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
"react-immutable-proptypes": "2.2.0",
8383
"react-immutable-pure-component": "^2.2.0",
8484
"react-inspector": "^5.1.1",
85-
"react-motion": "^0.5.2",
8685
"react-redux": "^7.2.4",
8786
"react-syntax-highlighter": "^15.4.3",
8887
"redux": "^4.1.0",

src/core/components/debug.jsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from "react"
22
import PropTypes from "prop-types"
3-
import { presets } from "react-motion"
43
import ObjectInspector from "react-inspector"
54

65
export default class Debug extends React.Component {
@@ -32,7 +31,7 @@ export default class Debug extends React.Component {
3231
<div className="info">
3332
<h3><a onClick={this.toggleJsonDump}> {this.plusOrMinus(this.state.jsonDumpOpen)} App </a></h3>
3433

35-
<Collapse isOpened={this.state.jsonDumpOpen} springConfig={presets.noWobble}>
34+
<Collapse isOpened={this.state.jsonDumpOpen} springConfig={{ stiffness: 170, damping: 26 }}>
3635

3736
<ObjectInspector data={getState().toJS() || {}} name="state" expandPaths={["state"]}/>
3837

0 commit comments

Comments
 (0)