Updated and removed todos.
This commit is contained in:
@@ -37,6 +37,7 @@ const CalenderNav = (): JSX.Element => {
|
||||
* TODO: Add logic to remove the nav buttons.
|
||||
* Do not show next button for current month.
|
||||
* Do not show prev when there is nothing left to see in the past.
|
||||
* (Creation date of a chart)
|
||||
*/
|
||||
|
||||
return (
|
||||
|
||||
@@ -55,6 +55,7 @@ const Day = ({
|
||||
* TODO: Add logic to remove the onClick within overflow dates.
|
||||
* Do not give dates for the next month an onClick.
|
||||
* Do not give dates in the past an onClick there is nothing before that month.
|
||||
* (Creation date of a chart)
|
||||
*/
|
||||
|
||||
return (
|
||||
|
||||
@@ -4,7 +4,6 @@ import CalenderNav from "./CalenderNav";
|
||||
import { CalenderContext } from "../../contexts/CalenderContext";
|
||||
import { format } from "date-fns";
|
||||
import Day from "./Day";
|
||||
// TODO: import types
|
||||
|
||||
const Calender = (newDate?: UpdateCalendarProps): JSX.Element => {
|
||||
const { selectedDate, layout, updateDate } = useContext(CalenderContext);
|
||||
|
||||
Reference in New Issue
Block a user