diff --git a/src/editor/setPosition.js b/src/editor/setPosition.js index 140f107..2fb0e67 100644 --- a/src/editor/setPosition.js +++ b/src/editor/setPosition.js @@ -33,7 +33,7 @@ const setPosition = (wrapperEl, editorEl, selectedEl) => { editorEl.style.bottom = `${containerHeight - annotationTop}px`; } - // Check if vertical flipping helped, push down if not + // Check if vertical flipp helped, push down if not const currentOrientation = editorEl.children[1].getBoundingClientRect(); if (currentOrientation.top < 0) { editorEl.style.top = `${-containerBounds.top}px`; diff --git a/src/editor/widgets/Autocomplete.js b/src/editor/widgets/Autocomplete.js index 2073e3e..e97b113 100644 --- a/src/editor/widgets/Autocomplete.js +++ b/src/editor/widgets/Autocomplete.js @@ -1,5 +1,5 @@ -import React, { Component, createRef } from 'react' -import { useCombobox } from 'downshift' +import React, { Component, createRef } from 'react'; +import { useCombobox } from 'downshift'; export default class Autocomplete extends Component {