Skip to content

Commit

Permalink
fix: 修复某些报错信息会导致白屏的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Pylogmon committed May 20, 2023
1 parent 84a5eb5 commit 9a8e443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows/Translator/components/TargetArea/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function TargetArea(props) {
setLoading(false);
},
(e) => {
setTargetText(e);
setTargetText(e.toString());
setLoading(false);
}
);
Expand Down

0 comments on commit 9a8e443

Please sign in to comment.