Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Sep 5, 2021
1 parent ac8ec7a commit b681ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/Editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default class Editor extends Component {
initResizeObserver = () => {
// Defaults to true
const autoPosition =
this.props.editorAutoPosition === undefined ? true : this.props.editorAutoPosition;
this.props.autoPosition === undefined ? true : this.props.autoPosition;

if (window?.ResizeObserver) {
const resizeObserver = new ResizeObserver(() => {
Expand Down

0 comments on commit b681ad6

Please sign in to comment.