feat: Clearing cache automatically after quitting e read session

This commit is contained in:
Julien Froidefond
2025-02-28 17:44:22 +01:00
parent 2ef5eee726
commit 13492cea84
5 changed files with 45 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ export function ClientBookReader({ book, pages }: ClientBookReaderProps) {
const handleCloseReader = () => {
setIsReading(false);
//Fetch une nouvelle route pour rafraichir les différents caches
router.back();
};