From 225da90b5bfe087cc8f999ede22894c5af32be29 Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja <1805317@kiit.ac.in> Date: Tue, 19 Mar 2024 20:09:10 +0530 Subject: [PATCH] fix: useMemo0 changes --- src/App.res | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)