LibreChat/docs/fixes
Danny Avila 6900fa73c6
fix: Add useBackToNewChat Hook for Back Navigation Handling
- Introduced a new hook `useBackToNewChat` to manage state when navigating back to the `/c/new` route.
- The hook listens for browser back/forward navigation events and resets the conversation state appropriately.
- Integrated the hook into `ChatRoute.tsx` to ensure proper functionality during navigation.
- Added documentation detailing the problem, solution, and implementation of the new hook.
2025-08-27 19:09:00 -04:00
..
back-button-navigation-fix.md fix: Add useBackToNewChat Hook for Back Navigation Handling 2025-08-27 19:09:00 -04:00