feat: implement chat history deletion functionality
All checks were successful
Deploy / deploy (push) Successful in 8m4s
All checks were successful
Deploy / deploy (push) Successful in 8m4s
Added a new DELETE endpoint to allow users to clear their chat history. This functionality ensures that while the chat messages are removed, any credits spent remain intact. Additionally, updated the ListemGovde component to reflect changes in user preferences and integrated a modal for notifying users about preference changes. Enhanced the SohbetClient component to include a button for clearing chat history, improving user experience and interface clarity.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
// Liste üretiminin bekleme metinleri tek kaynakta: ilk kurulum (ListeUretici)
|
||||
// ve tercih değişikliği sonrası yeniden kurulum (TercihDegistiUyarisi) aynı
|
||||
// ve tercih değişikliği sonrası yeniden kurulum (TercihDegistiModali) aynı
|
||||
// dili ve ritmi paylaşsın diye.
|
||||
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
Reference in New Issue
Block a user