diff --git a/src/App.res b/src/App.res index da44f7b5d..c2c4b7b05 100644 --- a/src/App.res +++ b/src/App.res @@ -7,10 +7,10 @@ let make = () => { let paymentMode = CardUtils.getQueryParamsDictforKey(url.search, "componentName") let fullscreenMode = CardUtils.getQueryParamsDictforKey(url.search, "fullscreenType") - let logger = React.useMemo(() => { + let logger = React.useMemo0(() => { let log = OrcaLogger.make() log - }, []) + }) React.useEffect1(() => { setLoggerState(_ => logger)