We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b069713 commit 2a669c6Copy full SHA for 2a669c6
src/components/EngagementDataGrid/useProcessEngagementUpdate.ts
@@ -47,12 +47,7 @@ export const useProcessEngagementUpdate = () => {
47
optimisticResponse: {
48
updateLanguageEngagement: {
49
__typename: 'UpdateLanguageEngagementOutput',
50
- // This is an easy/cheap/hacky way to "unparse" the date scalars
51
- // before writing them to the cache.
52
- // Our read policies expect them to be ISO strings as we receive
53
- // them from the network this way.
54
- // Since our temporal objects have a toJSON, this works fine to revert that.
55
- engagement: JSON.parse(JSON.stringify(updated)),
+ engagement: updated,
56
},
57
58
});
0 commit comments