mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-24 20:30:13 +01:00
- 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. |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| test | ||
| babel.config.cjs | ||
| check_updates.sh | ||
| index.html | ||
| jest.config.cjs | ||
| nginx.conf | ||
| package.json | ||
| postcss.config.cjs | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
| vite.config.ts | ||