diff --git a/src/ReshowcaseUi.re b/src/ReshowcaseUi.re index c926db0..266f8ce 100644 --- a/src/ReshowcaseUi.re +++ b/src/ReshowcaseUi.re @@ -1066,18 +1066,16 @@ module App = { let demoUnit = Demos.findDemo(urlSearchParams, demoName, demos);
{demoUnit - ->(Option.map(demoUnit => )) - ->(Option.getWithDefault("Demo not found"->React.string))} + ->Option.map(demoUnit => ) + ->Option.getWithDefault("Demo not found"->React.string)}
; | Demo(demoName) => let demoUnit = Demos.findDemo(urlSearchParams, demoName, demos) - ->( - Option.map(demoUnit => - - ) + ->Option.map(demoUnit => + ) - ->(Option.getWithDefault("Demo not found"->React.string)); + ->Option.getWithDefault("Demo not found"->React.string);