mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-23 07:32:58 +00:00
more linting
This commit is contained in:
@@ -290,8 +290,6 @@ const CodeEditor = forwardRef(
|
|||||||
),
|
),
|
||||||
});
|
});
|
||||||
|
|
||||||
//load settings too
|
|
||||||
|
|
||||||
restoreFolds(view, foldsRef.current[tab]);
|
restoreFolds(view, foldsRef.current[tab]);
|
||||||
|
|
||||||
const savedScroll = scrollRef.current[tab];
|
const savedScroll = scrollRef.current[tab];
|
||||||
|
|||||||
@@ -354,7 +354,6 @@ class ImageWidget extends WidgetType {
|
|||||||
img.className = 'cm-preview';
|
img.className = 'cm-preview';
|
||||||
img.src = this.url;
|
img.src = this.url;
|
||||||
|
|
||||||
|
|
||||||
img.onerror = ()=>{
|
img.onerror = ()=>{
|
||||||
img.src = 'client/icons/broken-image.jpg';
|
img.src = 'client/icons/broken-image.jpg';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user