diff --git a/ui/app/AppLayouts/Chat/popups/community/AccessExistingCommunityPopup.qml b/ui/app/AppLayouts/Chat/popups/community/AccessExistingCommunityPopup.qml index 30b7ec5d97..1ad52c9470 100644 --- a/ui/app/AppLayouts/Chat/popups/community/AccessExistingCommunityPopup.qml +++ b/ui/app/AppLayouts/Chat/popups/community/AccessExistingCommunityPopup.qml @@ -18,6 +18,7 @@ StatusModal { property string error: "" property string keyValidationError: "" + property string communityKey: "" function validate() { keyValidationError = ""; @@ -75,7 +76,7 @@ StatusModal { return; } - let communityKey = keyInput.text.trim(); + communityKey = keyInput.text.trim(); if (!communityKey.startsWith("0x")) { communityKey = "0x" + communityKey; }