LibreChat/client/src/hooks
Danny Avila f5672ddcf8
Auth fix (#624)
* chore(eslint): add ignore pattern for packages/data-provider/types
chore(data-provider): fix import formatting in index.ts
chore(data-provider): add types/index.d.ts to tsconfig include

* fix(Auth): fix "skip login" bug, where UI would render in an unauthenticated state
fix(Login.tsx): replace navigate('/chat/new') with navigate('/chat/new', { replace: true })
fix(AuthContext.tsx): replace navigate(redirect) with navigate(redirect, { replace: true })
fix(AuthContext.tsx): replace navigate('/login') with navigate('/login', { replace: true })
fix(AuthContext.tsx): replace navigate('/login') with navigate('/login', { replace: true })
fix(routes/Chat.jsx): add check for isAuthenticated: navigate to '/login' and render null if not authenticated
fix(routes/index.jsx): add check for isAuthenticated: navigate to '/login' and render null if not authenticated

* refactor(SubmitButton.jsx): create a set of endpoints to hide set tokens
fix(SubmitButton.jsx): fix condition to check if token is provided for certain endpoints
2023-07-12 11:37:27 -04:00
..
ApiErrorBoundaryContext.tsx Build/Refactor: lint pre-commit hook and reformat repo to spec (#314) 2023-05-18 14:09:31 -04:00
AuthContext.tsx Auth fix (#624) 2023-07-12 11:37:27 -04:00
ThemeContext.jsx Added Settings Modal (#342) 2023-06-02 00:32:35 -04:00
useDebounce.js Build/Refactor: lint pre-commit hook and reformat repo to spec (#314) 2023-05-18 14:09:31 -04:00
useDidMountEffect.js chore: reorganize client files for docker 2023-03-06 10:47:06 -05:00
useDocumentTitle.js chore: reorganize client files for docker 2023-03-06 10:47:06 -05:00
useOnClickOutside.js feat: Plugins endpoint - Reverse Engineering of official Plugins features (#197) 2023-06-10 19:10:03 -04:00