Skip to content
Snippets Groups Projects
Commit 28b2fb83 authored by Thomas Bouquet's avatar Thomas Bouquet
Browse files

tentative sprint

parent 19ef6c19
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,9 @@ import eventData from "../../eventData/eventData.json"; ...@@ -5,6 +5,9 @@ import eventData from "../../eventData/eventData.json";
function Submit(props) { function Submit(props) {
const now = Date.now() < 0;
console.log(now);
/*var [participants,setParticipants] = useState([]); /*var [participants,setParticipants] = useState([]);
useEffect(() => { useEffect(() => {
const interval = setInterval(() => { const interval = setInterval(() => {
...@@ -26,7 +29,7 @@ function Submit(props) { ...@@ -26,7 +29,7 @@ function Submit(props) {
}) })
}*/ }*/
if (Date.now() < 0) { if (now < 0) {
axios.post('/api/staff/new_score', axios.post('/api/staff/new_score',
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment