From cdeaa35ff4c4fd5cd9dc5e7609d7c85d82d78bc7 Mon Sep 17 00:00:00 2001 From: keyan Date: Fri, 3 May 2024 14:49:31 -0500 Subject: [PATCH] fix new logger.error undefined --- components/webln/lnc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/webln/lnc.js b/components/webln/lnc.js index 7f942197..3c855f92 100644 --- a/components/webln/lnc.js +++ b/components/webln/lnc.js @@ -33,7 +33,7 @@ function validateNarrowPerms (lnc) { } export function LNCProvider ({ children }) { - const logger = useWalletLogger(Wallet.LNC) + const { logger } = useWalletLogger(Wallet.LNC) const [config, setConfig] = useState({}) const [lnc, setLNC] = useState() const [status, setStatus] = useState()