1
0
mirror of synced 2025-12-22 19:34:15 -05:00

Make code a little less sloppy

This commit is contained in:
Chiedo
2020-10-20 08:56:11 -04:00
parent 548853fb29
commit 6e5673ce8b
3 changed files with 3 additions and 7 deletions

View File

@@ -26,8 +26,7 @@ const CodeEditor = (props) => {
)
}
if (typeof window === 'undefined') {
} else {
if (typeof window !== 'undefined') {
const componentContainers = document.querySelectorAll('.react-component-CodeEditor')
for (const componentContainer of componentContainers) {