reactjs-calendar-heatmap
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "reactjs-calendar-heatmap", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "React component for d3.js calendar heatmap graph.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/g1eb/reactjs-calendar-heatmap#readme", |
@@ -238,3 +238,3 @@ import * as React from 'react' | ||
}) | ||
.on('click', d => { | ||
.on('click', (event, d) => { | ||
if (this.in_transition) { return } | ||
@@ -246,3 +246,3 @@ | ||
// Set selected date to the one clicked on | ||
this.selected = d | ||
this.selected = { date: d.date } | ||
@@ -249,0 +249,0 @@ // Hide tooltip |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1189369