Updated and removed todos.

This commit is contained in:
Lucid Kobold
2022-01-27 13:45:17 -06:00
parent 5107b0cdbd
commit 314ead7a79
5 changed files with 9 additions and 7 deletions

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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);