diff --git a/plugins/linear-genome-view/src/BaseLinearDisplay/components/Tooltip.tsx b/plugins/linear-genome-view/src/BaseLinearDisplay/components/Tooltip.tsx index ff1c46c421..c3a1321515 100644 --- a/plugins/linear-genome-view/src/BaseLinearDisplay/components/Tooltip.tsx +++ b/plugins/linear-genome-view/src/BaseLinearDisplay/components/Tooltip.tsx @@ -1,12 +1,11 @@ -import React, { lazy, Suspense } from 'react' +import React, { Suspense } from 'react' import { getConf } from '@jbrowse/core/configuration' import { SanitizedHTML } from '@jbrowse/core/ui' import { observer } from 'mobx-react' +import BaseTooltip from '@jbrowse/core/ui/BaseTooltip' // locals import { BaseLinearDisplayModel } from '../models/BaseLinearDisplayModel' -const BaseTooltip = lazy(() => import('@jbrowse/core/ui/BaseTooltip')) - interface Props { message: React.ReactNode | string } @@ -41,11 +40,9 @@ const Tooltip = observer(function ({ : undefined return featureUnderMouse && contents ? ( - - - - - + + + ) : null })