🐛 fix: String Interpolation in Messages Endpoint from #9155 (#9312)

* feat: move buildTree function for message hierarchy to data provider

* refactor: consolidate buildTree import from utils to data provider

* fix: correct string interpolation in messages function, which caused message search requests to fail
This commit is contained in:
Danny Avila 2025-08-27 13:48:48 -04:00 committed by GitHub
parent 78d735f35c
commit a362963017
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 63 additions and 94 deletions

View file

@ -1,12 +1,12 @@
import { memo } from 'react';
import { Spinner } from '@librechat/client';
import { useParams } from 'react-router-dom';
import { buildTree } from 'librechat-data-provider';
import { useGetSharedMessages } from 'librechat-data-provider/react-query';
import { useLocalize, useDocumentTitle } from '~/hooks';
import { useGetStartupConfig } from '~/data-provider';
import { ShareContext } from '~/Providers';
import MessagesView from './MessagesView';
import { buildTree } from '~/utils';
import Footer from '../Chat/Footer';
function SharedView() {