mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-05 10:08:52 +01:00
🧹 chore: pre-release cleanup (#3595)
* fix: Update health endpoint URL * refactor: use Constants for saved tag default value, do not place Saved as first always * refactor: check trimmed currentText before appending parsedText in useSubmitMessage * refactor: move `scrollToEnd()` to `createdHandler` and increase delay before execution slightly * chore: Add back TypeScript linting rules for unnecessary conditions and strict boolean expressions * chore: Update librechat-data-provider package.json version to 0.7.4.0
This commit is contained in:
parent
e05a6d306d
commit
473859b0e2
11 changed files with 16 additions and 25 deletions
|
|
@ -11,7 +11,6 @@ import { Spinner } from '~/components';
|
|||
import { cn } from '~/utils';
|
||||
import store from '~/store';
|
||||
|
||||
const SAVED_TAG = 'Saved';
|
||||
const BookmarkMenu: FC = () => {
|
||||
const localize = useLocalize();
|
||||
|
||||
|
|
@ -47,7 +46,7 @@ const BookmarkMenu: FC = () => {
|
|||
if (conversation && conversationId) {
|
||||
await mutateAsync(
|
||||
{
|
||||
tags: [SAVED_TAG],
|
||||
tags: [Constants.SAVED_TAG as 'Saved'],
|
||||
},
|
||||
{
|
||||
onSuccess: (newTags: string[]) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue