diff --git a/src/ReshowcaseUi.re b/src/ReshowcaseUi.re index 95b1d9b..09823f7 100644 --- a/src/ReshowcaseUi.re +++ b/src/ReshowcaseUi.re @@ -880,20 +880,9 @@ module DemoUnitFrame = { (), ); - let useFullframeUrl: bool = [%mel.raw - {js|typeof USE_FULL_IFRAME_URL === "boolean" ? USE_FULL_IFRAME_URL : false|js} - ]; - [@react.component] - let make = - ( - ~queryString as _: string, - ~responsiveMode, - ~onLoad: Js.t('a) => unit, - ~children, - ) => { + let make = (~responsiveMode, ~onLoad: Js.t('a) => unit, ~children) => { let (body, setBody) = React.useState(_ => None); - let _iframePath = if (useFullframeUrl) {"demo/index.html"} else {"demo"};