Skip to content

Commit 356ea1d

Browse files
committed
Fixed warnings in ReactCssTransitionGroup
Fixes #86
1 parent c34f4cc commit 356ea1d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

core/src/main/scala/japgolly/scalajs/react/Addons.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ object Addons {
1515
component: js.UndefOr[String] = js.undefined) {
1616
def toJs: js.Object = {
1717
val p = js.Dynamic.literal("transitionName" -> name)
18-
enter.foreach(v => p.updateDynamic("transitionEnter")(v))
19-
leave.foreach(v => p.updateDynamic("transitionLeave")(v))
20-
component.foreach(v => p.updateDynamic("component")(React.DOM.selectDynamic(v)))
18+
enter .foreach(v => p.updateDynamic("transitionEnter")(v))
19+
leave .foreach(v => p.updateDynamic("transitionLeave")(v))
20+
component.foreach(v => p.updateDynamic("component")(v))
2121
p
2222
}
2323

doc/CHANGELOG-0.8.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* `justifyContent`
1414
* `vectorEffect`
1515
* Fixed typos in `borderRightStyle` and `lineHeight`.
16+
* Fixed warnings in `ReactCssTransitionGroup`. ([#86](https://github.com/japgolly/scalajs-react/issues/86))
1617

1718

1819
# 0.8.0 ([commit log](https://github.com/japgolly/scalajs-react/compare/v0.7.2...v0.8.0))

0 commit comments

Comments
 (0)