File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
callback/src/main/scala-3/japgolly/scalajs/react/callback Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ final class CallbackOption[+A](val underlyingRepr: CallbackOption.UnderlyingRepr
280280 *
281281 * @param cond The condition required to be `true` for this callback to execute.
282282 */
283- def when (inline cond : Boolean ): CallbackOption [A ] =
283+ def when (cond : Boolean ): CallbackOption [A ] =
284284 new CallbackOption [A ](() => if (cond) cbfn() else None )
285285
286286 /**
@@ -298,7 +298,7 @@ final class CallbackOption[+A](val underlyingRepr: CallbackOption.UnderlyingRepr
298298 * @param cond The condition required to be `false` for this callback to execute.
299299 * @return `Some` result of the callback executed, else `None`.
300300 */
301- inline def unless (inline cond : Boolean ): CallbackOption [A ] =
301+ def unless (cond : Boolean ): CallbackOption [A ] =
302302 when(! cond)
303303
304304 /**
You can’t perform that action at this time.
0 commit comments