Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ncovercash committed Sep 22, 2023
1 parent 3b16700 commit 33f6cea
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions src/components/fields/HoursOfOperationField.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import {
Button,
Datepicker,
IconButton,
Layout,
MultiColumnList,
MultiColumnListProps,
} from '@folio/stripes/components';
import classNames from 'classnames';
import React, { ReactNode } from 'react';
import { Field, useField } from 'react-final-form';
import { useField } from 'react-final-form';
import { FieldArrayRenderProps } from 'react-final-form-arrays';
import { FormattedMessage, useIntl } from 'react-intl';
import css from './HoursAndExceptionFields.css';
Expand Down Expand Up @@ -83,15 +82,13 @@ export default function HoursOfOperationField({
status: (
<Button
marginBottom0
onClick={() =>
values.push({
type: RowType.Open,
startDay: undefined,
startTime: undefined,
endDay: undefined,
endTime: undefined,
})
}
onClick={() => values.push({
type: RowType.Open,
startDay: undefined,
startTime: undefined,
endDay: undefined,
endTime: undefined,
})}
>
<FormattedMessage id="ui-calendar.calendarForm.addRowButton" />
</Button>
Expand Down

0 comments on commit 33f6cea

Please sign in to comment.