Skip to content

Commit 5b8378f

Browse files
author
Gus Clemens
committed
Changes necessary to satisfy commit hook requirements for the prior commit.
1 parent eb1f986 commit 5b8378f

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.eslintrc.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
"plugin:react/recommended",
1111
"plugin:@typescript-eslint/recommended",
1212
"plugin:prettier/recommended",
13-
"plugin:react-hooks/recommended",
14-
"next/core-web-vitals"
13+
"plugin:react-hooks/recommended"
1514
],
1615
"overrides": [],
1716
"parser": "@typescript-eslint/parser",
@@ -27,7 +26,7 @@
2726
"version": "detect"
2827
}
2928
},
30-
"plugins": ["react", "@typescript-eslint", "import", "prettier", "@next/eslint-plugin-next"],
29+
"plugins": ["react", "@typescript-eslint", "import", "prettier"],
3130
"rules": {
3231
"indent": "off",
3332
"linebreak-style": ["error", "unix"],

src/components/Calendar/Years.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
import DatepickerContext from "contexts/DatepickerContext";
12
import React, { useContext } from "react";
23

34
import { generateArrayNumber } from "../../helpers";
45
import { RoundedButton } from "../utils";
56

6-
import DatepickerContext from "contexts/DatepickerContext";
7-
87
interface Props {
98
year: number;
109
currentYear: number;

src/components/Calendar/index.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import dayjs from "dayjs";
22
import React, { useCallback, useContext, useEffect, useMemo, useState } from "react";
3+
import { DateType } from "types";
34

45
import { CALENDAR_SIZE, DATE_FORMAT } from "../../constants";
56
import DatepickerContext from "../../contexts/DatepickerContext";
@@ -27,8 +28,6 @@ import Months from "./Months";
2728
import Week from "./Week";
2829
import Years from "./Years";
2930

30-
import { DateType } from "types";
31-
3231
interface Props {
3332
date: dayjs.Dayjs;
3433
minDate?: DateType | null;

0 commit comments

Comments
 (0)