Remove comment

This commit is contained in:
Joseph Garrone 2024-05-07 20:56:56 +02:00
parent fa24fb41a1
commit a6f7f8ff49

View File

@ -81,8 +81,6 @@ export function usePrepareTemplate(params: {
return;
}
let isUnmounted = false;
const removeArray: (() => void)[] = [];
scripts.forEach(script => {
@ -95,7 +93,6 @@ export function usePrepareTemplate(params: {
});
return () => {
isUnmounted = true;
removeArray.forEach(remove => remove());
};
}, [isReady]);