diff --git a/modules/core/src/main/scala/io/laminext/syntax/MiscSyntax.scala b/modules/core/src/main/scala/io/laminext/syntax/MiscSyntax.scala index e432e1d..d81a691 100644 --- a/modules/core/src/main/scala/io/laminext/syntax/MiscSyntax.scala +++ b/modules/core/src/main/scala/io/laminext/syntax/MiscSyntax.scala @@ -17,10 +17,6 @@ import scala.scalajs.js trait MiscSyntax { - @inline def whenNot[A, El <: Element](b: Boolean)( - mods: Modifier[El]* - ): Modifier[El] = when(!b)(mods: _*) - @inline def whenEmpty[El <: Element](o: Option[_])(mods: Modifier[El]*): Modifier[El] = when(o.isEmpty)(mods: _*)