mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-06-25 04:28:39 +00:00
lint more
This commit is contained in:
@@ -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)
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user