Skip to content

Commit

Permalink
fix(data): 🐛 skip contact if state.to is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
jojobyte committed Mar 7, 2024
1 parent 1918893 commit 16f47fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rigs/request-qr.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down

0 comments on commit 16f47fd

Please sign in to comment.