Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Apr 18, 2021
1 parent a453388 commit 5c678f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/editor/setPosition.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand Down
4 changes: 2 additions & 2 deletions src/editor/widgets/Autocomplete.js
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down

0 comments on commit 5c678f5

Please sign in to comment.