@momo-kits/calendar 0.121.0-rc.5 → 0.121.0-rc.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/MonthList.tsx +1 -1
  2. package/package.json +1 -1
package/MonthList.tsx CHANGED
@@ -159,7 +159,7 @@ const MonthList = forwardRef<MonthListRef, MonthListProps>((props, ref) => {
159
159
  const renderItem = useCallback(
160
160
  ({item, index}: {item: {date: Moment; dateList: any[]}; index: number}) => {
161
161
  const keyMonth = moment(item.date).format('YYYY-MM');
162
- const priceListDate = priceList?.[keyMonth];
162
+ const priceListDate = priceList?.[keyMonth]?.day;
163
163
  return (
164
164
  <Month
165
165
  {...restProps}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/calendar",
3
- "version": "0.121.0-rc.5",
3
+ "version": "0.121.0-rc.9",
4
4
  "private": false,
5
5
  "main": "index.tsx",
6
6
  "peerDependencies": {