Skip to content

Commit aa8dd16

Browse files
committed
fx: formated codes
1 parent 09dc60a commit aa8dd16

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

frontend/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function App() {
4646
} else if (mode === 'translate' && !targetLang) {
4747
setOutputCode('');
4848
}
49-
}, [sourceLang, mode, targetLang]);
49+
}, [mode, targetLang]);
5050

5151
// --- Helpers ---
5252
const getEditorLanguage = (langId: string) => {
@@ -363,7 +363,7 @@ function App() {
363363
label="Target Language"
364364
value={targetLang}
365365
onChange={setTargetLang}
366-
excludeId={sourceLang}
366+
excludeId={sourceLang}
367367
/>
368368
) : (
369369
<div className="flex flex-col gap-1.5 w-full">

frontend/src/constants/languages.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ export const LANGUAGES = [
1111
{ id: 'ruby', name: 'Ruby' },
1212
{ id: 'swift', name: 'Swift' },
1313
];
14-

0 commit comments

Comments
 (0)