Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pvannierop committed May 21, 2022
1 parent e40f5c7 commit 01a529c
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/pages/resultsView/ResultsViewPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ import {
} from 'shared/lib/customTabs/customTabHelpers';
import { buildCBioPortalPageUrl } from 'shared/api/urls';
import IFrameLoader from 'shared/components/iframeLoader/IFrameLoader';
import { AppContext } from 'cbioportal-frontend-commons/src';
import { AppContext } from 'cbioportal-frontend-commons';

export function initStore(
appStore: AppStore,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/studyView/chartHeader/ChartHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { StudyViewPageStore } from 'pages/studyView/StudyViewPageStore';
import { ISurvivalDescription } from 'pages/resultsView/survival/SurvivalDescriptionTable';
import ComparisonVsIcon from 'shared/components/ComparisonVsIcon';
import { getComparisonParamsForTable } from 'pages/studyView/StudyViewComparisonUtils';
import { AppContext } from 'cbioportal-frontend-commons/src';
import { AppContext } from 'cbioportal-frontend-commons';

export interface IChartHeaderProps {
chartMeta: ChartMeta;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/studyView/studyPageHeader/ActionButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { StudyViewPageStore } from 'pages/studyView/StudyViewPageStore';
import classNames from 'classnames';
import { AppStore } from '../../../AppStore';
import { serializeEvent } from '../../../shared/lib/tracking';
import { AppContext } from 'cbioportal-frontend-commons/src';
import { AppContext } from 'cbioportal-frontend-commons';
export interface ActionButtonsProps {
loadingComplete: boolean;
store: StudyViewPageStore;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import MobxPromise from 'mobxpromise';
import { StudyDataDownloadLink } from '../../../../shared/components/StudyDataDownloadLink/StudyDataDownloadLink';
import { serializeEvent } from '../../../../shared/lib/tracking';
import { mixedReferenceGenomeWarning } from 'shared/lib/referenceGenomeUtils';
import { AppContext } from 'cbioportal-frontend-commons/src';
import { AppContext } from 'cbioportal-frontend-commons';

interface IStudySummaryProps {
studies: CancerStudy[];
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/cnSegments/CNSegmentsDownloader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { generateSegmentFileContent } from 'shared/lib/IGVUtils';
import { onMobxPromise } from 'cbioportal-frontend-commons';
import fileDownload from 'react-file-download';
import autobind from 'autobind-decorator';
import { AppContext } from 'cbioportal-frontend-commons/src';
import { AppContext } from 'cbioportal-frontend-commons';

export type CNSegmentsDownloaderProps = {
promise: MobxPromise<CopyNumberSeg[]>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Clipboard = require('clipboard');
import copyDownloadStyles from './copyDownloadControls.module.scss';
import { CopyDownloadButtons } from './CopyDownloadButtons';
import { ICopyDownloadControlsProps } from './ICopyDownloadControls';
import { AppContext } from 'cbioportal-frontend-commons/src';
import { AppContext } from 'cbioportal-frontend-commons';

export interface IAsyncCopyDownloadControlsProps
extends ICopyDownloadControlsProps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import VirtualStudy, {
IVirtualStudyProps,
} from 'pages/studyView/virtualStudy/VirtualStudy';
import { computed } from 'mobx';
import { AppContext } from 'cbioportal-frontend-commons/src';
import { AppContext } from 'cbioportal-frontend-commons';

export interface ICopyDownloadLinksProps extends ICopyDownloadInputsProps {
copyLinkRef?: (el: HTMLAnchorElement | null) => void;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { CopyDownloadLinks } from './CopyDownloadLinks';
import { CopyDownloadButtons } from './CopyDownloadButtons';
import { ICopyDownloadControlsProps } from './ICopyDownloadControls';
import { CopyDownloadQueryLinks } from './CopyDownloadQueryLinks';
import { AppContext } from 'cbioportal-frontend-commons/src';
import { AppContext } from 'cbioportal-frontend-commons';
const Clipboard = require('clipboard');

export interface ISimpleCopyDownloadControlsProps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import {
IDriverAnnotationControlsState,
} from 'shared/alterationFiltering/AnnotationFilteringSettings';
import DriverAnnotationControls from 'shared/components/driverAnnotations/DriverAnnotationControls';
import { AppContext } from 'cbioportal-frontend-commons/src';
import { AppContext } from 'cbioportal-frontend-commons';

export interface IOncoprintControlsHandlers
extends IDriverAnnotationControlsHandlers {
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/query/QueryAndDownloadTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { trackEvent } from 'shared/lib/tracking';
import { If } from 'react-if';
import { getServerConfig } from 'config/config';
import { ModifyQueryParams } from 'pages/resultsView/ResultsViewPageStore';
import { AppContext } from 'cbioportal-frontend-commons/src';
import { AppContext } from 'cbioportal-frontend-commons';

const DOWNLOAD = 'download';
const ADVANCED = 'advanced';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import {
import PyMolScriptGenerator from './PyMolScriptGenerator';

import styles from './structureViewer.module.scss';
import { AppContext } from 'cbioportal-frontend-commons/src';
import { AppContext } from 'cbioportal-frontend-commons';

export interface IStructureViewerPanelProps extends IProteinImpactTypeColors {
pdbChainDataStore: ILazyMobXTableApplicationDataStore<IPdbChain>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
ColumnVisibilityControls,
} from '../columnVisibilityControls/ColumnVisibilityControls';
import { computed } from 'mobx';
import { AppContext } from 'cbioportal-frontend-commons/src';
import { AppContext } from 'cbioportal-frontend-commons';

export interface ITableHeaderControlsProps {
tableData?: Array<any>;
Expand Down

0 comments on commit 01a529c

Please sign in to comment.