Skip to content

Commit 3da2e91

Browse files
authored
refactor(website): correct minor spelling error (#2790)
1 parent 7e70c4d commit 3da2e91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/versioned_docs/version-8.10.1/advanced-guides/custom-modifiers.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ The `today` modifier is added to the current date:
7171

7272
```tsx
7373
function ModifiersToday() {
74-
const initialFooter = <p>Try clicking the today’s date.</p>;
74+
const initialFooter = <p>Try clicking today’s date.</p>;
7575
const [footer, setFooter] = useState(initialFooter);
7676

7777
const handleDayClick: DayMouseEventHandler = (day, modifiers) => {
7878
if (modifiers.today) {
79-
setFooter(<p>You clicked the today’s date.</p>);
79+
setFooter(<p>You clicked today’s date.</p>);
8080
} else {
8181
setFooter(initialFooter);
8282
}

0 commit comments

Comments
 (0)