mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-24 04:10:15 +01:00
chore: remove data-provider and use npm package instead (#713)
* chore: remove data-provider, install npm package * chore: replace monorepo package with npm package: librechat-data-provider * chore: remove data-provider scripts * chore: remove data-provider from .eslintrc.js
This commit is contained in:
parent
777d64088b
commit
369b1f4eba
46 changed files with 1403 additions and 3415 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import React from 'react';
|
||||
import { useGetStartupConfig } from '@librechat/data-provider';
|
||||
import { useGetStartupConfig } from 'librechat-data-provider';
|
||||
|
||||
export default function Footer() {
|
||||
const { data: config } = useGetStartupConfig();
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import { Trash2 } from 'lucide-react';
|
|||
import FileUpload from './FileUpload';
|
||||
import getIcon from '~/utils/getIcon';
|
||||
import getDefaultConversation from '~/utils/getDefaultConversation';
|
||||
import { useDeletePresetMutation, useCreatePresetMutation } from '@librechat/data-provider';
|
||||
import { useDeletePresetMutation, useCreatePresetMutation } from 'librechat-data-provider';
|
||||
import {
|
||||
Button,
|
||||
DropdownMenu,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import { Settings, AgentSettings } from '../../Endpoints/Plugins/';
|
|||
import { cn } from '~/utils/';
|
||||
import store from '~/store';
|
||||
import { useAuthContext } from '~/hooks/AuthContext';
|
||||
import { useAvailablePluginsQuery } from '@librechat/data-provider';
|
||||
import { useAvailablePluginsQuery } from 'librechat-data-provider';
|
||||
|
||||
function PluginsOptions() {
|
||||
const { data: allPlugins } = useAvailablePluginsQuery();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue