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 c722106 commit 03d1c0cCopy full SHA for 03d1c0c
package/src/components/Channel/Channel.tsx
@@ -1568,7 +1568,7 @@ const ChannelWithContext = (props: PropsWithChildren<ChannelPropsWithContext>) =
1568
const updatedMessage = {
1569
...message,
1570
cid: channel.cid,
1571
- deleted_at: new Date().toISOString(),
+ deleted_at: new Date(),
1572
type: 'deleted' as MessageLabel,
1573
};
1574
updateMessage(updatedMessage);
0 commit comments