Commit c20d78ca authored by Dr. Steffen Brinckmann's avatar Dr. Steffen Brinckmann
Browse files

clean code

parent 8ddf705a
......@@ -19,7 +19,6 @@ export default class AboutPage extends Component {
}
submit(){
try {
const json = JSON.parse(this.state.credentials);
//try successful, use string; json-object can be ignored
localStorage.setItem('credentials',this.state.credentials);
}
......
Supports Markdown
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