Skip to content

Commit

Permalink
picked too high an engine
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnuttandrew committed Aug 29, 2023
1 parent 37d82c6 commit 65f00a1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "",
"license": "ISC",
"engines": {
"node": ">=18.0.0"
"node": ">=16.20.1"
},
"devDependencies": {
"@babel/core": "^7.16.12",
Expand Down
3 changes: 2 additions & 1 deletion src/components/tooltips/publish-instance-tooltip.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React, {useRef, useState, useEffect} from 'react';
import DomToImage from 'dom-to-image';
// import DomToImage from 'dom-to-image';
const DomToImage = require('dom-to-image');
import Tooltip from 'rc-tooltip';
import {TiUpload} from 'react-icons/ti';
import VegaDatasets from '../../constants/vega-datasets-counts.json';
Expand Down
4 changes: 2 additions & 2 deletions src/containers/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import CodeEditor, {mapStateToProps as CodeEditorMapStateToProps} from './code-e
import EncodingColumn, {mapStateToProps as EncodingColumnMapStateToProps} from './encoding-column';
import HotKeyProvider, {mapStateToProps as HotKeyProviderMapStateToProps} from './hot-key-provider';
import DataColumn, {mapStateToProps as DataColumnMapStateToProps} from './data-column';
import TourProvider, {mapStateToProps as TourProviderMapStateToProps} from './tour-provider';
// import TourProvider, {mapStateToProps as TourProviderMapStateToProps} from './tour-provider';

import {DataRow, ActionUser} from '../actions/index';
import {classnames} from '../utils';
Expand Down Expand Up @@ -128,7 +128,7 @@ function EditorContainer(props: RootProps): JSX.Element {
{...HotKeyProviderMapStateToProps(store.getState())}
languages={languages}
/>
<TourProvider {...actionCreators} {...TourProviderMapStateToProps(store.getState())} />
{/* <TourProvider {...actionCreators} {...TourProviderMapStateToProps(store.getState())} /> */}
{props.openModal === 'data' && (
<DataModal
changeSelectedFile={props.changeSelectedFile}
Expand Down
1 change: 0 additions & 1 deletion src/utils/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// import DomToImage from 'dom-to-image';
import * as stringify from 'json-stringify-pretty-compact';
import {
DataTargetWidget,
Expand Down

0 comments on commit 65f00a1

Please sign in to comment.