Fix for creation issues (maybe temp)
This commit is contained in:
parent
155d477007
commit
9a27ca4a51
|
@ -75,8 +75,8 @@ function TournamentForm(props) {
|
||||||
setMaxTeamsExponent(event.target.value);
|
setMaxTeamsExponent(event.target.value);
|
||||||
}
|
}
|
||||||
|
|
||||||
const [startTime, setStartTime] = React.useState([new Date(), null]);
|
const [startTime, setStartTime] = React.useState([new Date(), new Date()]);
|
||||||
const [endTime, setEndTime] = React.useState([new Date(), null]);
|
const [endTime, setEndTime] = React.useState([new Date(), new Date()]);
|
||||||
|
|
||||||
function submitTournament(event) {
|
function submitTournament(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
@ -92,7 +92,7 @@ function TournamentForm(props) {
|
||||||
tournamentEnd,
|
tournamentEnd,
|
||||||
maxTeams
|
maxTeams
|
||||||
);
|
);
|
||||||
console.log(startTime, endTime);
|
console.log(tournamentStart, tournamentEnd);
|
||||||
}
|
}
|
||||||
|
|
||||||
const marks = [
|
const marks = [
|
||||||
|
|
Loading…
Reference in New Issue