Skip to content

Commit

Permalink
revert fname
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Pickering <[email protected]>
  • Loading branch information
alexvpickering committed Dec 3, 2024
1 parent 8ed1e65 commit 8e8d649
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/__test__/test-utils/setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jest.mock('localforage');
jest.mock('utils/pushNotificationMessage');

// This is needed, because the unit tests don't register the Vitessce imports
jest.mock('components/data-exploration/DynamicESMWrappers', () => ({
jest.mock('components/data-exploration/DynamicVitessceWrappers', () => ({
Scatterplot: () => 'Mocked Scatterplot',
Heatmap: () => 'Mocked Heatmap',
Spatial: () => 'Mocked Spatial',
Expand Down
2 changes: 1 addition & 1 deletion src/components/data-exploration/embedding/Embedding.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
import getContainingCellSetsProperties from 'utils/cellSets/getContainingCellSetsProperties';

const Scatterplot = dynamic(
() => import('../DynamicESMWrappers').then((mod) => mod.Scatterplot),
() => import('../DynamicVitessceWrappers').then((mod) => mod.Scatterplot),
{ ssr: false },
);

Expand Down
2 changes: 1 addition & 1 deletion src/components/data-exploration/heatmap/HeatmapPlot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { loadCellSets } from 'redux/actions/cellSets';
const COMPONENT_TYPE = 'interactiveHeatmap';

const Heatmap = dynamic(
() => import('../DynamicESMWrappers').then((mod) => mod.Heatmap),
() => import('../DynamicVitessceWrappers').then((mod) => mod.Heatmap),
{ ssr: false },
);

Expand Down
2 changes: 1 addition & 1 deletion src/components/data-exploration/spatial/SpatialViewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const COMPONENT_TYPE = 'interactiveSpatial';
const RADIUS_DEFAULT = 3;

const Spatial = dynamic(
() => import('../DynamicESMWrappers').then((mod) => mod.Spatial),
() => import('../DynamicVitessceWrappers').then((mod) => mod.Spatial),
{ ssr: false },
);

Expand Down

0 comments on commit 8e8d649

Please sign in to comment.