Skip to content

Commit ae2b39a

Browse files
Merge pull request #3736 from dancesWithCycles/readme
fix: adjust Installation section
2 parents d52612e + 66a6c7a commit ae2b39a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import "react-datepicker/dist/react-datepicker.css";
3939
const Example = () => {
4040
const [startDate, setStartDate] = useState(new Date());
4141
return (
42-
<DatePicker selected={startDate} onChange={(date:Date) => setStartDate(date)} />
42+
<DatePicker selected={startDate} onChange={(date) => setStartDate(date)} />
4343
);
4444
};
4545
```

0 commit comments

Comments
 (0)