add current date and tyrannuss
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
import { useState } from "react";
|
||||
|
||||
function SearchDate() {
|
||||
const [date, setDate] = useState("");
|
||||
const todayISO = new Date().toLocaleDateString("en-CA");
|
||||
const [date, setDate] = useState(todayISO);
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -25,5 +26,5 @@ function SearchDate() {
|
||||
}
|
||||
|
||||
export default SearchDate;
|
||||
|
||||
//IO
|
||||
//By Tyrannuss
|
||||
|
||||
Reference in New Issue
Block a user