Skip to content

Commit

Permalink
prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
khareemnurulla committed Aug 7, 2024
1 parent 6b4ef99 commit f7c7b7f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/ui/src/components/Datepicker/Views/Months.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,16 @@ export interface DatepickerViewsMonthsProps {
}

export const DatepickerViewsMonth: FC<DatepickerViewsMonthsProps> = ({ theme: customTheme = {} }) => {
const { theme: rootTheme, minDate, maxDate, selectedDate, viewDate, language, setViewDate, setView } = useDatePickerContext();
const {
theme: rootTheme,
minDate,
maxDate,
selectedDate,
viewDate,
language,
setViewDate,
setView,
} = useDatePickerContext();

const theme = mergeDeep(rootTheme.views.months, customTheme);

Expand Down

0 comments on commit f7c7b7f

Please sign in to comment.