0
0
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:
G.Ambatte
2025-11-17 17:09:23 +13:00
committed by GitHub
parent f1891d9250
commit 73b7d6887b

View File

@@ -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 );
});