From 06fcf0b73b8311101508a2123ceef959aa82b930 Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 29 Jul 2024 09:01:00 -0400 Subject: [PATCH] Misc lint fixes --- packages/product-core/src/ui/RefNameInfoDialog.tsx | 2 +- .../src/LinearComparativeView/model.ts | 5 +---- plugins/linear-genome-view/src/LinearGenomeView/model.ts | 6 ++---- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/packages/product-core/src/ui/RefNameInfoDialog.tsx b/packages/product-core/src/ui/RefNameInfoDialog.tsx index 54ea5b2453..629e222189 100644 --- a/packages/product-core/src/ui/RefNameInfoDialog.tsx +++ b/packages/product-core/src/ui/RefNameInfoDialog.tsx @@ -5,7 +5,7 @@ import { AnyConfigurationModel, } from '@jbrowse/core/configuration' import { Dialog, LoadingEllipses } from '@jbrowse/core/ui' -import { AbstractSessionModel, getSession } from '@jbrowse/core/util' +import { AbstractSessionModel } from '@jbrowse/core/util' import { getConfAssemblyNames } from '@jbrowse/core/util/tracks' import { observer } from 'mobx-react' import { makeStyles } from 'tss-react/mui' diff --git a/plugins/linear-comparative-view/src/LinearComparativeView/model.ts b/plugins/linear-comparative-view/src/LinearComparativeView/model.ts index f02a4e4c6f..77e839ceb9 100644 --- a/plugins/linear-comparative-view/src/LinearComparativeView/model.ts +++ b/plugins/linear-comparative-view/src/LinearComparativeView/model.ts @@ -4,20 +4,17 @@ import { cast, getParent, getPath, - getRoot, - resolveIdentifier, types, Instance, SnapshotIn, } from 'mobx-state-tree' -import { autorun, transaction } from 'mobx' +import { autorun } from 'mobx' // jbrowse import BaseViewModel from '@jbrowse/core/pluggableElementTypes/models/BaseViewModel' import { MenuItem } from '@jbrowse/core/ui' import { getSession, isSessionModelWithWidgets, avg } from '@jbrowse/core/util' import PluginManager from '@jbrowse/core/PluginManager' -import { AnyConfigurationModel } from '@jbrowse/core/configuration' import { ElementId } from '@jbrowse/core/util/types/mst' import { LinearGenomeViewModel, diff --git a/plugins/linear-genome-view/src/LinearGenomeView/model.ts b/plugins/linear-genome-view/src/LinearGenomeView/model.ts index 4865addf37..d6454cadae 100644 --- a/plugins/linear-genome-view/src/LinearGenomeView/model.ts +++ b/plugins/linear-genome-view/src/LinearGenomeView/model.ts @@ -1,5 +1,5 @@ import React, { lazy } from 'react' -import { getConf, AnyConfigurationModel } from '@jbrowse/core/configuration' +import { getConf } from '@jbrowse/core/configuration' import { BaseViewModel } from '@jbrowse/core/pluggableElementTypes/models' import { Region } from '@jbrowse/core/util/types' import { ElementId } from '@jbrowse/core/util/types/mst' @@ -31,13 +31,11 @@ import { showTrackGeneric, toggleTrackGeneric, } from '@jbrowse/core/util/tracks' -import { when, transaction, autorun } from 'mobx' +import { when, autorun } from 'mobx' import { addDisposer, cast, getSnapshot, - getRoot, - resolveIdentifier, types, Instance, getParent,