diff --git a/src/components/CardStack.jsx b/src/components/CardStack.jsx
index 05fbddf..f5bc36e 100644
--- a/src/components/CardStack.jsx
+++ b/src/components/CardStack.jsx
@@ -22,7 +22,6 @@ class CardStack extends React.Component {
event={event}
language={this.props.language}
tools={this.props.tools}
- // isLoading={this.props.isLoading}
getNarrativeLinks={this.props.getNarrativeLinks}
getCategoryGroup={this.props.getCategoryGroup}
getCategoryColor={this.props.getCategoryColor}
diff --git a/src/components/Dashboard.jsx b/src/components/Dashboard.jsx
index 162bd75..d9e93a2 100644
--- a/src/components/Dashboard.jsx
+++ b/src/components/Dashboard.jsx
@@ -94,8 +94,8 @@ class Dashboard extends React.Component {
this.getCategoryColor(category)
}}
/>
@@ -111,9 +111,11 @@ class Dashboard extends React.Component {
getCategoryColor={category => this.getCategoryColor(category)}
/>
this.getCategoryColor(category)}
+ methods={{
+ onSelect: this.handleSelect,
+ onUpdateTimerange: this.updateTimerange,
+ getCategoryColor: category => this.getCategoryColor(category)
+ }}
/>
{
- select(location.events);
+ methods.onSelect(location.events);
});
const eventsDom = g.selectAll('.location')
diff --git a/src/store/initial.js b/src/store/initial.js
index 4c8cdbb..b675188 100644
--- a/src/store/initial.js
+++ b/src/store/initial.js
@@ -119,10 +119,10 @@ const initial = {
narratives: {
default: {
- style: 'solid', // ['dotted', 'solid']
+ style: 'dotted', // ['dotted', 'solid']
opacity: 0.9, // range between 0 and 1
stroke: 'red', // Any hex or rgb code
- strokeWidth: 5
+ strokeWidth: 2
},
narrative_1: {
style: 'solid', // ['dotted', 'solid']