diff --git a/src/components/Datepicker/Calender/index.js b/src/components/Datepicker/Calender/index.js index 3287f8a..c0f5cbb 100644 --- a/src/components/Datepicker/Calender/index.js +++ b/src/components/Datepicker/Calender/index.js @@ -14,17 +14,16 @@ const weekDays = [ "جمعه", ]; -const Calender = ({ minimumDate, maximumDate, setDate, date }) => { - // const [date, setDate] = useState("1401/03/01"); +const Calender = ({ minimumDate, maximumDate }) => { + const [date, setDate] = useState("1401/01/01"); return (
{ diff --git a/src/components/Datepicker/CalenderList/index.js b/src/components/Datepicker/CalenderList/index.js index e76f123..b2ebc48 100644 --- a/src/components/Datepicker/CalenderList/index.js +++ b/src/components/Datepicker/CalenderList/index.js @@ -5,7 +5,7 @@ import Button from "../../ButtonDesign/Button"; import SearchBox from "../../SearchDesign/SearchBox"; const CalenderList = ({ buttons, leftArrow, rightArrow }) => { - const [date, setDate] = useState("1401/02/01"); + // const [date, setDate] = useState("1401/02/01"); return (
@@ -37,12 +37,7 @@ const CalenderList = ({ buttons, leftArrow, rightArrow }) => {
{/* ? calender list */}
- +