diff --git a/components/webln/lnbits.js b/components/webln/lnbits.js index fd716a51..ced064cc 100644 --- a/components/webln/lnbits.js +++ b/components/webln/lnbits.js @@ -99,6 +99,7 @@ export function LNbitsProvider ({ children }) { const configStr = window.localStorage.getItem(storageKey) if (!configStr) { setEnabled(undefined) + setInitialized(true) return } diff --git a/components/webln/nwc.js b/components/webln/nwc.js index 0a617520..9443a7c5 100644 --- a/components/webln/nwc.js +++ b/components/webln/nwc.js @@ -21,6 +21,7 @@ export function NWCProvider ({ children }) { const configStr = window.localStorage.getItem(storageKey) if (!configStr) { setEnabled(undefined) + setInitialized(true) return }