fix(@desktop/communities): Fix for can't import community

fixes #4073
This commit is contained in:
Khushboo Mehta 2021-11-10 13:14:18 +01:00 committed by Iuri Matias
parent 9b9fc74140
commit 26b577824a
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}