fix: Force re-render the CSAT component when data changes (#11643)

This commit is contained in:
Pranav
2025-06-01 23:40:47 -06:00
committed by GitHub
parent f064b09776
commit 4061f99114

View File

@@ -90,7 +90,6 @@ const columns = [
const [ratingObject = {}] = CSAT_RATINGS.filter(
rating => rating.value === giveRating
);
return h(
'span',
{
@@ -110,7 +109,13 @@ const columns = [
columnHelper.accessor('conversationId', {
header: '',
width: 100,
cell: cellProps => h(ConversationCell, cellProps),
cell: cellProps => {
const { row } = cellProps;
return h(ConversationCell, {
key: row.original.conversationId,
row,
});
},
}),
];