Commit e054c562 authored by Svein Olav Styve's avatar Svein Olav Styve

Small history-save bug fix

parent 81944cd0
......@@ -114,6 +114,7 @@ class App extends React.Component {
};
handleArtworkChange(artworkId) {
if (this.state.artwork === artworkId) return;
localStorage.setItem("artwork", artworkId);
this.setState({artwork: artworkId}, event => this.updateSession());
}
......
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