mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 20:25:12 +00:00
(fix)(chat-sdk) fix dateInfo null error when drill down (#1559)
This commit is contained in:
@@ -250,7 +250,7 @@ const ChatMsg: React.FC<Props> = ({
|
|||||||
dateInfo: {
|
dateInfo: {
|
||||||
...chatContext.dateInfo,
|
...chatContext.dateInfo,
|
||||||
dateMode: dateModeValue,
|
dateMode: dateModeValue,
|
||||||
unit: currentDateOption || chatContext.dateInfo.unit,
|
unit: currentDateOption || chatContext.dateInfo?.unit,
|
||||||
},
|
},
|
||||||
dimensions: dimension
|
dimensions: dimension
|
||||||
? [...(chatContext.dimensions || []), dimension]
|
? [...(chatContext.dimensions || []), dimension]
|
||||||
|
|||||||
Reference in New Issue
Block a user