Skip to content
Snippets Groups Projects
Commit 46f8f612 authored by Inès Yeterian's avatar Inès Yeterian
Browse files

updates useState, not really sure

parent b2bdf537
No related branches found
No related tags found
1 merge request!4Url/year/title
......@@ -8,7 +8,7 @@ const date = new Date()
const beginYear = 1900 + (date.getMonth() < 7 ? date.getYear()-1 : date.getYear());
function AllToucan(props){
const [toucans,setToucans] = useState([]);
const [urltoucans,setToucans] = useState([]);
const [before,setBefore] = useState((new Date(beginYear+1,6,31)).getTime());
const [after, setAfter] = useState((new Date(beginYear,7,1)).getTime());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment