I want to add the deletion button beside the chat message, but it seems like the deletion doesn't work for the server. Anyone know how to write the correct function for the deletion in chatsideBar.tsx
This is the function I created for deletion, it actually show Chat deleted successfully, however the server side and database remain the same value.
Any suggestions?
Hi,
I want to add the deletion button beside the chat message, but it seems like the deletion doesn't work for the server. Anyone know how to write the correct function for the deletion in chatsideBar.tsx
This is the function I created for deletion, it actually show Chat deleted successfully, however the server side and database remain the same value.
Any suggestions?