Skip to content

Commit

Permalink
update types
Browse files Browse the repository at this point in the history
  • Loading branch information
jsartisan committed Feb 17, 2025
1 parent 8ee824c commit 64de1d8
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ import type { CalendarState } from "@react-stately/calendar";

import { useYearOptions } from "../utils/calendar";

export function CalendarYearDropdown({
state,
}: {
state: CalendarState | null;
}) {
export function CalendarYearDropdown({ state }: { state: CalendarState }) {
const years = useYearOptions(state);

const onChange = (value: Key | null) => {
Expand Down

0 comments on commit 64de1d8

Please sign in to comment.