Skip to content

Commit 62f24d1

Browse files
committed
refactor: stop using a re-assignment to _
1 parent ff1d70b commit 62f24d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CSSTransition.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ class CSSTransition extends React.Component<Props> {
259259
}
260260

261261
render() {
262-
const { classNames: _, ...props } = this.props;
262+
const { classNames, ...props } = this.props;
263263

264264
return (
265265
<Transition

0 commit comments

Comments
 (0)