remove _deffer (#3114)
* remove _deffer Signed-off-by: Paul Tagliamonte <paul@zoo.dev>
This commit is contained in:
@ -66,7 +66,7 @@ export const KclEditorPane = () => {
|
||||
|
||||
useEffect(() => {
|
||||
if (typeof window === 'undefined') return
|
||||
const onlineCallback = () => kclManager.executeCode(true, true)
|
||||
const onlineCallback = () => kclManager.executeCode(true)
|
||||
window.addEventListener('online', onlineCallback)
|
||||
return () => window.removeEventListener('online', onlineCallback)
|
||||
}, [])
|
||||
|
Reference in New Issue
Block a user