Skip to content

Commit

Permalink
Fix some lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Nov 25, 2020
1 parent a00f561 commit 68786c1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default pluginManager => {
const IconButton = jbrequire('@material-ui/core/IconButton')
const MenuItem = jbrequire('@material-ui/core/MenuItem')
const TextField = jbrequire('@material-ui/core/TextField')
const ToggleButton = jbrequire('@material-ui/lab/ToggleButton')
const { makeStyles } = jbrequire('@material-ui/core/styles')
const { grey } = jbrequire('@material-ui/core/colors')

Expand Down Expand Up @@ -103,7 +102,6 @@ export default pluginManager => {

const Controls = observer(({ model, showingFigure }) => {
const classes = useStyles()
const session = getSession(model)
return (
<div className={classes.controls}>
<IconButton
Expand Down
2 changes: 0 additions & 2 deletions plugins/dotplot-view/src/DotplotView/components/Controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { TrackSelector as TrackSelectorIcon } from '@jbrowse/core/ui/Icons'
import IconButton from '@material-ui/core/IconButton'

import { observer } from 'mobx-react'
import { getSession } from '@jbrowse/core/util'
import { DotplotViewModel } from '../model'

export default () => {
Expand All @@ -35,7 +34,6 @@ export default () => {

const Controls = observer(({ model }: { model: DotplotViewModel }) => {
const classes = useStyles()
const session = getSession(model)
return (
<div className={classes.controls}>
<IconButton
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { fade } from '@material-ui/core/styles/colorManipulator'
import FormGroup from '@material-ui/core/FormGroup'
import TextField from '@material-ui/core/TextField'
import Typography from '@material-ui/core/Typography'
import IconButton from '@material-ui/core/IconButton'
import { observer } from 'mobx-react'
import { Instance } from 'mobx-state-tree'
import React, { useCallback, useRef, useState } from 'react'
Expand Down Expand Up @@ -67,7 +66,6 @@ const Controls = observer(({ model }: { model: LGV }) => {
color="secondary"
>
<TrackSelectorIcon className={classes.buttonSpacer} />
Open track selector
</Button>
)
})
Expand Down
1 change: 0 additions & 1 deletion plugins/linear-genome-view/src/LinearGenomeView/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,6 @@ export function stateModelFactory(pluginManager: PluginManager) {
let stringifiedCurrentlyCalculatedStaticBlocks = ''
return {
get menuItems(): MenuItem[] {
const session = getSession(self)
const menuItems: MenuItem[] = [
{
label: 'Open track selector',
Expand Down

0 comments on commit 68786c1

Please sign in to comment.