fix: tranbox ui

This commit is contained in:
Gabe Yuan
2024-04-17 10:31:37 +08:00
parent 0a4fa7b9f8
commit d6f3b23b88

View File

@@ -203,7 +203,7 @@ function TranForm({ text, setText, tranboxSetting, transApis, simpleStyle }) {
</>
)}
{(!simpleStyle || !isValidWord(text)) && (
{(!simpleStyle || !isValidWord(text) || !toLang.startsWith("zh")) && (
<TranCont
text={text}
translator={translator}