LibreChat
LibreChat copied to clipboard
[Bug]: Prompt Library's pagination does not work if you use the filter
What happened?
You can not use the pagination if you use the filter if you are on a pageNumber bigger than 1. I think the problem can be fixed by resetting the pagination state or the usePromptGroupsInfiniteQuery hook.
Steps to Reproduce
- Go to Prompts page.
- Add new prompts and refresh the page, so you have more than 10 prompts so you can use the pagination.
- Skip the next page.
- Use the filter.
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Screenshots
https://github.com/danny-avila/LibreChat/assets/44726724/bd9f1b60-489b-4470-a639-868bc3fa1b32
Code of Conduct
- [X] I agree to follow this project's Code of Conduct