From 15bd17dd5fdebc577ce4494ff1e80842c6d0314f Mon Sep 17 00:00:00 2001 From: balzack Date: Fri, 6 Oct 2023 23:14:56 -0700 Subject: [PATCH] fixing connection request error --- app/mobile/src/session/contact/useContact.hook.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/mobile/src/session/contact/useContact.hook.js b/app/mobile/src/session/contact/useContact.hook.js index a1458f75..39661e3b 100644 --- a/app/mobile/src/session/contact/useContact.hook.js +++ b/app/mobile/src/session/contact/useContact.hook.js @@ -23,7 +23,6 @@ export function useContact(contact, back) { guid: null, busy: false, offsync: false, - strings: getLanguageStrings(), imageSource: null, @@ -63,7 +62,7 @@ export function useContact(contact, back) { const username = `${handle}/${node}` const imageSource = imageSet ? { uri: card.actions.getCardImageUrl(cardId) } : avatar; const status = offsync ? 'offsync' : detail.status; - updateState({ name, handle, node: server, location, description, imageSource, username, cardId, guid, status }); + updateState({ name, handle, node: host, location, description, imageSource, username, cardId, guid, status }); } else { const { guid, handle, node, name, location, description, imageSet } = contact || {};