Skip to content

Commit

Permalink
fix: useMemo0 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja committed Mar 19, 2024
1 parent 9385f31 commit 225da90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.res
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 225da90

Please sign in to comment.