0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-21 18:03:07 +00:00
This commit is contained in:
Trevor Buckner
2025-11-17 23:09:47 -05:00
parent 73b7d6887b
commit 059d6d7939

View File

@@ -91,7 +91,6 @@ const Editor = createClass({
this.resizeObserver = new ResizeObserver(entries => {
const height = document.querySelector('.editor > .snippetBar').offsetHeight;
this.setState({ snippetBarHeight: height });
console.log('setting state to ', height );
});
this.resizeObserver.observe(snippetBar);
@@ -436,7 +435,6 @@ const Editor = createClass({
},
renderEditor : function(){
console.log('state at rendering is: ',this.state.snippetBarHeight);
if(this.isText()){
return <>
<CodeEditor key='codeEditor'