Add links back to home with the same ID and a QR code

This commit is contained in:
2016-12-27 08:05:56 +00:00
parent 8440fb036b
commit d940ecb970
4 changed files with 26 additions and 6 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { Router, Route, Link } from 'react-router';
export default class Home extends React.Component {
render(){
let id = Shortid.generate();
let id = this.props.urlid || Shortid.generate();
return (
<div className="container">