Skip to content

Commit 9ee9c07

Browse files
committed
Remove locale.code and setElement from copyTranslationIntoEditor dependencies
1 parent f3862ea commit 9ee9c07

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

‎translate/src/modules/machinery/components/MachineryTranslation.tsx‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,7 @@ export function MachineryTranslationComponent({
6060
});
6161
}
6262
}
63-
}, [
64-
index,
65-
llmTranslation,
66-
setElement,
67-
setEditorFromHelpers,
68-
translation,
69-
locale.code,
70-
log,
71-
]);
63+
}, [index, llmTranslation, setEditorFromHelpers, translation, log]);
7264

7365
const className = classNames(
7466
'translation',

0 commit comments

Comments
 (0)