From 9612373ffc032644592869f36593750841dd243f Mon Sep 17 00:00:00 2001 From: Manuel Holtgrewe Date: Thu, 22 Feb 2024 15:46:54 +0100 Subject: [PATCH] fix: import plotly landscape statically (#140) --- src/components/GeneClinvarCard/GeneClinvarCard.vue | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/components/GeneClinvarCard/GeneClinvarCard.vue b/src/components/GeneClinvarCard/GeneClinvarCard.vue index fe93a8f..5677158 100644 --- a/src/components/GeneClinvarCard/GeneClinvarCard.vue +++ b/src/components/GeneClinvarCard/GeneClinvarCard.vue @@ -3,8 +3,6 @@ * This component displays a Card with ClinVar variant information aggregated * to the gene level. */ -import { defineAsyncComponent } from 'vue' - import type { GenomeBuild } from '../../lib/genomeBuilds' import { ClinvarPerGeneRecord } from '../../pbs/annonars/clinvar/per_gene' import { Record as GeneInfoRecord } from '../../pbs/annonars/genes/base' @@ -12,12 +10,7 @@ import { Transcript } from '../../pbs/mehari/txs' import DocsLink from '../DocsLink/DocsLink.vue' import ClinvarFreqPlot from './ClinvarFreqPlot.vue' import ClinvarImpact from './ClinvarImpact.vue' - -// The variation landascape is defined as an async component as rendering it -// may take a while. -const VariationLandscapePlotly = defineAsyncComponent( - () => import('./VariationLandscapePlotly.vue') -) +import VariationLandscapePlotly from './VariationLandscapePlotly.vue' /** This component's props. */ // eslint-disable-next-line @typescript-eslint/no-unused-vars