Respect fragment hash on page load, closes #7

This commit is contained in:
Simon Willison 2018-06-26 21:56:00 -07:00
commit bdb39c7c03

View file

@ -81,7 +81,9 @@ class DatasetteVega extends Component {
columns: columns,
x_column: columns[0],
y_column: columns[1],
}, this.renderGraph);
}, () => {
this.onPopStateChange();
});
}
});
}