Skip to content

Commit

Permalink
change startDate
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignite99 committed Aug 8, 2022
1 parent dfaecba commit 1bc1925
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/src/components/searchBar/SearchBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const SearchBar = () => {
const [openDate, setOpenDate] = useState(false);
const [date, setDate] = useState([
{
startDate: new Date(),
endDate: addDays(new Date(), 1),
startDate: addDays(new Date(), 1),
endDate: addDays(new Date(), 2),
key: 'selection'
}
]);
Expand Down Expand Up @@ -125,6 +125,8 @@ const SearchBar = () => {
}
};

console.log(date[0].startDate)


return (
<div className="searchBar">
Expand Down

0 comments on commit 1bc1925

Please sign in to comment.