From d6f3b23b88c2f77fcf56e4b57fc6246c82b66691 Mon Sep 17 00:00:00 2001 From: Gabe Yuan Date: Wed, 17 Apr 2024 10:31:37 +0800 Subject: [PATCH] fix: tranbox ui --- src/views/Selection/TranBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Selection/TranBox.js b/src/views/Selection/TranBox.js index d8fd562..526e68f 100644 --- a/src/views/Selection/TranBox.js +++ b/src/views/Selection/TranBox.js @@ -203,7 +203,7 @@ function TranForm({ text, setText, tranboxSetting, transApis, simpleStyle }) { )} - {(!simpleStyle || !isValidWord(text)) && ( + {(!simpleStyle || !isValidWord(text) || !toLang.startsWith("zh")) && (