Fixed error being displayed incorrectly

This commit is contained in:
koloml committed 2025-02-18 01:29:35 +04:00
1 parent 62857d44c2
commit b31541ddf0
1 file changed
+2 -2
@@ -32,9 +32,9 @@
try {
if (importedString.trim().startsWith('{')) {
candidateGroup = groupTransporter.importFromJSON(importedString);
} else {
candidateGroup = groupTransporter.importFromCompressedJSON(importedString);
}
candidateGroup = groupTransporter.importFromCompressedJSON(importedString);
} catch (error) {
errorMessage = error instanceof Error
? error.message