0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-27 20:23:08 +00:00

tweak cClass logic

This commit is contained in:
Trevor Buckner
2023-07-04 03:31:21 -04:00
parent b7be2d6463
commit b9aaee43c2
3 changed files with 9 additions and 7 deletions

View File

@@ -464,7 +464,7 @@ const CodeEditor = createClass({
}
if(!found) {
for (const widget of this.state.widgets) {
this.state.widgetUtils.removeLineWidgets(widget);
widget.clear();
}
this.setState({
widgets : []