Skip to content

Commit

Permalink
remove weekList constants
Browse files Browse the repository at this point in the history
  • Loading branch information
takurinton committed Aug 31, 2023
1 parent b76c074 commit 0de5aa7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/components/Calendar/constants.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
import dayjs from "dayjs";

// for `<ScrollArea />`
export const HEIGHT = "400px";

const dayIndex = dayjs().day();
const startDay = dayjs().subtract(dayIndex, "day");

export const weekList = [...Array(7)].map((_, i) => startDay.add(i, "day"));

0 comments on commit 0de5aa7

Please sign in to comment.