Commit 387ced9b authored by alain's avatar alain 🐙
Browse files

update dependencies

parent 373e97a9
This diff is collapsed.
...@@ -3,36 +3,36 @@ ...@@ -3,36 +3,36 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@deck.gl/aggregation-layers": "^8.1.7", "@deck.gl/aggregation-layers": "^8.3.9",
"@deck.gl/core": "^8.1.7", "@deck.gl/core": "^8.3.9",
"@deck.gl/layers": "^8.1.7", "@deck.gl/layers": "^8.3.9",
"@deck.gl/mapbox": "^8.1.7", "@deck.gl/mapbox": "^8.3.9",
"@deck.gl/react": "^8.1.7", "@deck.gl/react": "^8.3.9",
"d3-color": "^1.4.1", "d3-color": "^2.0.0",
"d3-interpolate": "^1.4.0", "d3-interpolate": "^2.0.0",
"d3-scale": "^3.2.1", "d3-scale": "^3.2.3",
"immutable": "^4.0.0-rc.12", "immutable": "^4.0.0-rc.12",
"jsonp": "^0.2.1", "jsonp": "^0.2.1",
"memoize-one": "^5.1.1", "memoize-one": "^5.1.1",
"moment": "^2.26.0", "moment": "^2.29.1",
"moment-range": "^4.0.2", "moment-range": "^4.0.2",
"react": "^16.13.1", "react": "^17.0.1",
"react-dom": "^16.13.1", "react-dom": "^17.0.1",
"react-html-parser": "^2.0.2", "react-html-parser": "^2.0.2",
"react-map-gl": "^5.2.5", "react-map-gl": "^5.2.10",
"react-redux": "^7.2.0", "react-redux": "^7.2.2",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",
"react-scripts": "^3.4.1", "react-scripts": "^4.0.1",
"recharts": "^2.0.0-beta.6", "recharts": "^2.0.0-beta.8",
"redux": "^4.0.5" "redux": "^4.0.5"
}, },
"devDependencies": { "devDependencies": {
"@rescripts/cli": "0.0.14", "@rescripts/cli": "0.0.14",
"@rescripts/rescript-env": "0.0.12", "@rescripts/rescript-env": "0.0.12",
"copy-webpack-plugin": "^6.0.1", "copy-webpack-plugin": "^6.3.2",
"node-sass": "^4.14.1", "node-sass": "^4.14.1",
"redux-devtools": "^3.5.0", "redux-devtools": "^3.7.0",
"webpack-bundle-analyzer": "^3.8.0" "webpack-bundle-analyzer": "^4.1.0"
}, },
"scripts": { "scripts": {
"start": "rescripts start", "start": "rescripts start",
......
...@@ -184,7 +184,6 @@ class StationInfo extends React.Component { ...@@ -184,7 +184,6 @@ class StationInfo extends React.Component {
var gradients var gradients
let plots = [] let plots = []
if(data) { if(data) {
const stops = Object.keys(unit.legend).sort((a,b) => b-a).map(s => <stop key={s} offset={`${100 - (yScale(s) * 100)}%`} stopColor={unit.legend[s].color} />) const stops = Object.keys(unit.legend).sort((a,b) => b-a).map(s => <stop key={s} offset={`${100 - (yScale(s) * 100)}%`} stopColor={unit.legend[s].color} />)
...@@ -232,6 +231,9 @@ class StationInfo extends React.Component { ...@@ -232,6 +231,9 @@ class StationInfo extends React.Component {
</div> </div>
} }
console.log("ticks", ticks)
console.log("tickFormat", tickFormat)
return ( return (
<div ref={e => this.container = e}> <div ref={e => this.container = e}>
{ stationMeta && { stationMeta &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment