fix: remove extra state variables from useEffect
This commit is contained in:
parent
0a21cb2637
commit
7a80734c25
@ -397,7 +397,7 @@ export default function CodeEditor({
|
||||
providerData.binding = undefined;
|
||||
}
|
||||
};
|
||||
}, [editorRef, room, activeFileContent, activeFileId, tabs]);
|
||||
}, [editorRef, room, activeFileContent]);
|
||||
|
||||
// Added this effect to clean up when the component unmounts
|
||||
useEffect(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user