Skip to content

Commit 8946b72

Browse files
authored
Merge pull request #42 from FezVrasta/fix-macro
fix: import from VTK macros rather than macro
2 parents 517c601 + be0ea4a commit 8946b72

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/core/DataArray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { toTypedArray } from '../utils';
55

66
import { DataSetContext, FieldsContext } from './View';
77
import vtkDataArray from '@kitware/vtk.js/Common/Core/DataArray.js';
8-
import { TYPED_ARRAYS } from '@kitware/vtk.js/macro.js';
8+
import { TYPED_ARRAYS } from '@kitware/vtk.js/macros.js';
99

1010
/**
1111
* DataArray is creating a vtkDataArray for the container fields

src/core/ShareDataSet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { Component } from 'react';
22
import PropTypes from 'prop-types';
33

4-
import macro from '@kitware/vtk.js/macro.js';
4+
import macro from '@kitware/vtk.js/macros.js';
55

66
import { RepresentationContext, DownstreamContext } from './View';
77

src/core/View.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
55
// vtk.js Rendering stack
66
// ----------------------------------------------------------------------------
77

8-
import { debounce } from '@kitware/vtk.js/macro.js';
8+
import { debounce } from '@kitware/vtk.js/macros.js';
99

1010
import vtkOpenGLRenderWindow from '@kitware/vtk.js/Rendering/OpenGL/RenderWindow.js';
1111
import vtkRenderWindow from '@kitware/vtk.js/Rendering/Core/RenderWindow.js';

0 commit comments

Comments
 (0)