fix: remove unnecessary initialization (#51639)

This commit is contained in:
Oliver Eyton-Williams
2023-09-23 17:57:02 +02:00
committed by GitHub
parent 139eecad25
commit b7108ddeeb

View File

@@ -333,11 +333,6 @@ function ShowClassic({
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
useEffect(() => {
initializeComponent(title);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [tests, title]);
const initializeComponent = (title: string): void => {
initConsole('');