Skip to content

Commit 1e7d898

Browse files
committed
remove this.props
1 parent 9955046 commit 1e7d898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueueAnim.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ class QueueAnim extends React.Component {
226226
enterBegin(key, elements) {
227227
elements.forEach((elem) => {
228228
const animatingClassName = this.props.animatingClassName;
229-
if (elem.className.indexOf(this.props.animatingClassName[1]) >= 0) {
229+
if (elem.className.indexOf(animatingClassName[1]) >= 0) {
230230
elem.className = elem.className.replace(animatingClassName[1], '');
231231
}
232232
if (elem.className.indexOf(' ' + animatingClassName[0]) === -1) {

0 commit comments

Comments
 (0)