mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-26 16:02:38 +00:00
Fix typo in state property name for snippet bar height
This commit is contained in:
@@ -90,7 +90,7 @@ const Editor = createClass({
|
||||
|
||||
this.resizeObserver = new ResizeObserver(entries => {
|
||||
const height = document.querySelector('.editor > .snippetBar').offsetHeight;
|
||||
this.setState({ snippetbarHeight: height });
|
||||
this.setState({ snippetBarHeight: height });
|
||||
console.log('setting state to ', height );
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user