Skip to content

Commit

Permalink
Intentionally fail build
Browse files Browse the repository at this point in the history
  • Loading branch information
rushi committed Sep 9, 2024
1 parent 2bffb25 commit 8f8e97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DatePicker/Day.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import dayjs from "dayjs";
import PropTypes from "prop-types";
import React from "react";

export const Day = ({ selectedDate, date, getContent, currentMonth, disabled = false }) => {
export const Day = ({ selectedDate, date, getContent, currentMonth, disabled = false, foo = "asd" }) => {

Check warning on line 6 in src/components/DatePicker/Day.jsx

View workflow job for this annotation

GitHub Actions / View Lint Report

src/components/DatePicker/Day.jsx#L6

[@typescript-eslint/no-unused-vars] 'foo' is assigned a value but never used.
const isSameMonth = dayjs(currentMonth).isSame(date, "month");
if (getContent && isSameMonth) {
return <DayContent selectedDate={selectedDate} date={date} getContent={getContent} />;
Expand Down

0 comments on commit 8f8e97c

Please sign in to comment.