mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 16:04:23 +00:00
Remove debug console logs
This commit is contained in:
@@ -77,13 +77,7 @@ const Editor = () => {
|
||||
}, [selectedFile, settings.theme, handleContentChange, handleSave]);
|
||||
|
||||
useEffect(() => {
|
||||
console.log('Editor: content or selectedFile changed', {
|
||||
content,
|
||||
selectedFile,
|
||||
});
|
||||
|
||||
if (viewRef.current && content !== viewRef.current.state.doc.toString()) {
|
||||
console.log('Editor: updating content in CodeMirror');
|
||||
viewRef.current.dispatch({
|
||||
changes: {
|
||||
from: 0,
|
||||
|
||||
Reference in New Issue
Block a user