mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 11:07:06 +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: {
|
||||
...chatContext.dateInfo,
|
||||
dateMode: dateModeValue,
|
||||
unit: currentDateOption || chatContext.dateInfo.unit,
|
||||
unit: currentDateOption || chatContext.dateInfo?.unit,
|
||||
},
|
||||
dimensions: dimension
|
||||
? [...(chatContext.dimensions || []), dimension]
|
||||
|
||||
Reference in New Issue
Block a user