Skip to content

Commit

Permalink
fix sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Holtz Yan authored and Holtz Yan committed Jul 21, 2023
1 parent bd3b122 commit 4f47b50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions viz/BubbleMapDatasetTransition/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import ReactDOM from 'react-dom';
import { numData, geoData } from './data';
import { Map } from './Map';

const rootElement = document.getElementById('root');
ReactDOM.render(
<Map geoData={geoData} numData={numData} width={700} height={400} />,
<BubbleMapDatasetTransition width={700} height={400} />,
rootElement
);
4 changes: 3 additions & 1 deletion viz/BubbleMapDatasetTransition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"react": "17.0.2",
"react-dom": "17.0.2",
"react-scripts": "4.0.0",
"d3-geo": "^3.1.0"
"d3-geo": "^3.1.0",
"@react-spring/web": "^9.3.1",
"react-spring": "9.3.2"
},
"devDependencies": {
"@babel/runtime": "7.13.8",
Expand Down

0 comments on commit 4f47b50

Please sign in to comment.