rm comments

This commit is contained in:
Lachlan Kermode
2018-12-06 14:24:21 +00:00
parent 13befd298a
commit 1c3f07e235

View File

@@ -62,23 +62,6 @@ class Dashboard extends React.Component {
this.props.actions.updateTimeRange(timeRange);
}
// handleToggle( key ) {
// switch( key ) {
// case 'TOGGLE_CARDSTACK': {
// this.props.actions.updateSelected([]);
// break;
// }
// case 'TOGGLE_INFOPOPUP': {
// this.props.actions.toggleInfoPopup();
// break;
// }
// case 'TOGGLE_NOTIFICATIONS': {
// this.props.actions.toggleNotifications();
// break;
// }
// }
// }
getCategoryColor(category='other') {
return this.props.ui.style.categories[category] || this.props.style.categories['other']
}
@@ -95,7 +78,6 @@ class Dashboard extends React.Component {
<Viewport
methods={{
onSelect: this.handleSelect,
// onHighlight: this.handleHighlight,
getCategoryColor: category => this.getCategoryColor(category)
}}
/>