Skip to content

Commit

Permalink
fix: NextMonthButton not disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
qgadrian authored Sep 12, 2024
1 parent eaaed1d commit f4bbb32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function Nav(
onClick={props.onNextClick}
>
<components.Chevron
disabled={previousMonth ? undefined : true}
disabled={nextMonth ? undefined : true}
orientation="right"
className={classNames[UI.Chevron]}
/>
Expand Down

0 comments on commit f4bbb32

Please sign in to comment.