diff --git a/src/rigs/request-qr.js b/src/rigs/request-qr.js index e8529f8..9e1de83 100644 --- a/src/rigs/request-qr.js +++ b/src/rigs/request-qr.js @@ -320,7 +320,7 @@ export let requestQrRig = (async function (globals) { let contact, inWallet - if (state.to.startsWith('@')) { + if (state.to?.startsWith('@')) { contact = appState.contacts.find( c => c.alias === state.to.substring(1) )