We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96ebfab commit 525f32aCopy full SHA for 525f32a
src/widgets/ot_tongue.eliom
@@ -308,10 +308,9 @@ let%client bind side stops init handle update set_before_signal
308
Lwt.pick [a; b; c]
309
in
310
Lwt.async (fun () -> touchstarts handle' ontouchstart);
311
- ignore
312
- (Option.map
313
- (fun update -> React.E.map (fun stop -> set 0.0 (stop, true)) update)
314
- update)
+ match update with
+ | Some update -> ignore (React.E.map (fun stop -> set 0.0 (stop, true)) update)
+ | None -> ()
315
316
let%shared tongue ?(a = []) ?(side = `Bottom)
317
?(stops : stop list =
0 commit comments