Commit 8fefeee
fix: allow override onShowMore callback (#1214)
I've replaced `this._showMore` by callback from props. Seems it was added by mistake [here](https://github.com/intljusticemission/react-big-calendar/blob/f9a873368a78f5ced81b799c4dffe1095b3ab712/src/Calendar.jsx#L280), `_showMore` is always undefined.
Here it will be execute:
https://github.com/intljusticemission/react-big-calendar/blob/1d62c432eaa183ed6b38f08cfcec5ee7edcbfe41/src/Month.js#L300-L307
Related to #11471 parent 4768188 commit 8fefeee
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
326 | 335 | | |
327 | 336 | | |
328 | 337 | | |
| |||
847 | 856 | | |
848 | 857 | | |
849 | 858 | | |
| 859 | + | |
850 | 860 | | |
851 | 861 | | |
852 | 862 | | |
| |||
903 | 913 | | |
904 | 914 | | |
905 | 915 | | |
906 | | - | |
| 916 | + | |
907 | 917 | | |
908 | 918 | | |
909 | 919 | | |
| |||
0 commit comments