Skip to content

Commit 024a9f3

Browse files
committed
review
1 parent 3a814b7 commit 024a9f3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

coreGeneric/src/main/scala/japgolly/scalajs/react/hooks/CustomHook.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ object CustomHook {
185185
val nextRev = o.fold(1)(_._2 + 1)
186186
val nextState = (next, nextRev)
187187
val updateState = depsState.setState(Some(nextState))
188-
DefaultEffects.Sync.runSync(updateState) // TODO: Confirm this links
188+
DefaultEffects.Sync.runSync(updateState)
189189
nextState
190190
}
191191
}

tests/src/test/scala/japgolly/scalajs/react/core/HooksTest.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,6 @@ object HooksTest extends TestSuite {
12241224
}
12251225
}
12261226

1227-
12281227
// ===================================================================================================================
12291228

12301229
override def tests = Tests {

0 commit comments

Comments
 (0)