Fix result undefined

This commit is contained in:
Lim Chee Aun 2023-09-23 19:45:18 +08:00
parent d6499cf7fd
commit 34fcf5e8bd

View file

@ -89,7 +89,7 @@ function TranslationBlock({
}); });
} }
} else { } else {
console.error(result); if (error) console.error(error);
setUIState('error'); setUIState('error');
} }
} catch (e) { } catch (e) {