0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-06-25 04:28:39 +00:00

lint more

This commit is contained in:
Víctor Losada Hernández
2026-05-10 19:42:02 +02:00
parent aac384390b
commit b39502d806
@@ -119,7 +119,6 @@ const createHighlightPlugin = (renderer, tab)=>{
} }
}); });
tokens.forEach((tok)=>{ tokens.forEach((tok)=>{
const line = view.state.doc.line(tok.line + 1); const line = view.state.doc.line(tok.line + 1);
@@ -450,7 +449,6 @@ const CodeEditor = forwardRef(
injectText : (text)=>{ injectText : (text)=>{
const view = viewRef.current; const view = viewRef.current;
view.dispatch( view.dispatch(
view.state.replaceSelection(text) view.state.replaceSelection(text)
); );