Removing old context file and cleaning up.

This commit is contained in:
Lucid Kobold
2021-12-29 17:07:48 -06:00
parent 679b443308
commit 73b03afaab
7 changed files with 227 additions and 442 deletions

View File

@@ -4,10 +4,10 @@ import { HStack, IconButton } from "@chakra-ui/react";
import { Icon } from "@iconify/react";
import { sub, add, format } from "date-fns";
import DatePicker from "./DatePicker";
import { NewCalenderContext } from "../../contexts/NewCalenderContext";
import { CalenderContext } from "../../contexts/CalenderContext";
const CalenderNav = (): JSX.Element => {
const { selectedDate } = useContext(NewCalenderContext);
const { selectedDate } = useContext(CalenderContext);
const router = useRouter();