mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-09 13:42: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 => {
|
this.resizeObserver = new ResizeObserver(entries => {
|
||||||
const height = document.querySelector('.editor > .snippetBar').offsetHeight;
|
const height = document.querySelector('.editor > .snippetBar').offsetHeight;
|
||||||
this.setState({ snippetbarHeight: height });
|
this.setState({ snippetBarHeight: height });
|
||||||
console.log('setting state to ', height );
|
console.log('setting state to ', height );
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user