Skip to content

Commit d89fe2e

Browse files
authored
Merge pull request #238 from LALeer/patch-2
Update CodePreview.tsx
2 parents a47ea64 + 744494f commit d89fe2e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

app/src/components/bottom/CodePreview.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@ const CodePreview: React.FC<{
5252
dispatch(codePreviewInput(currentComponent.code));
5353
}, [currentComponent, state.components]);
5454

55-
useEffect(() => {
56-
console.log('CodePreview Mounted');
57-
return () => {
58-
console.log('CodePreview Unmounted');
59-
};
60-
}, []);
61-
6255
/**
6356
* Handler thats listens to changes in code editor
6457
* @param {string} data - Code entered by the user

0 commit comments

Comments
 (0)