|
|
@ -229,7 +229,6 @@ class CreateElection extends Component {
|
|
|
|
handleSubmit() {
|
|
|
|
handleSubmit() {
|
|
|
|
const {candidates, title, numGrades, start, finish} = this.state;
|
|
|
|
const {candidates, title, numGrades, start, finish} = this.state;
|
|
|
|
|
|
|
|
|
|
|
|
console.log('dates', start, finish);
|
|
|
|
|
|
|
|
const endpoint = resolve(
|
|
|
|
const endpoint = resolve(
|
|
|
|
this.context.urlServer,
|
|
|
|
this.context.urlServer,
|
|
|
|
this.context.routesServer.setElection,
|
|
|
|
this.context.routesServer.setElection,
|
|
|
|