Skip to content

Commit

Permalink
Merge pull request #47 from srini-leanfolks/master
Browse files Browse the repository at this point in the history
Changed the isBetween import
  • Loading branch information
JefteCaro committed Jan 23, 2023
2 parents bebc7e1 + e34d36f commit 061dec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Calendar/Days.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import dayjs from "dayjs";
import isBetween from "dayjs/plugin/isBetween";
import React, { useCallback, useContext } from "react";

import { BG_COLOR, TEXT_COLOR } from "../../constants";
import DatepickerContext from "../../contexts/DatepickerContext";
import { formatDate, nextMonth, previousMonth, classNames as cn } from "../../helpers";

const isBetween = require("dayjs/plugin/isBetween");
dayjs.extend(isBetween);

interface Props {
Expand Down

0 comments on commit 061dec4

Please sign in to comment.