Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mrb24 committed Nov 14, 2020
1 parent b6720b0 commit 1b8460a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/components/notebook/input/form/CodeCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import 'codemirror/mode/r/r';
import '../../../../../css/App.css';
import '../../../../../css/ModuleForm.css';
import '../../../../../css/CodeHighlight.css';
import ReactMarkdown from 'react-markdown'
import Highlight from 'react-highlight'

class CodeCell extends React.Component {
Expand Down Expand Up @@ -95,7 +94,6 @@ class CodeCell extends React.Component {
} = this.props;
let div = document.getElementById("empxCalc");
div.style.height = '1em';
const targetHeight = event.target.offsetHeight;
const lineHeightInPx = div.offsetHeight * 1.4285;//because lineheight is 1.4285em
const chWidthInPx = div.offsetHeight / 1.6585;//because font size is 1em
const transCY = event.nativeEvent.layerY;
Expand Down

0 comments on commit 1b8460a

Please sign in to comment.