mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-16 15:35:31 +01:00
chore: remove unused imports and clean up code in NewChat component
This commit is contained in:
parent
c273dfc1f4
commit
5b663d0e35
1 changed files with 1 additions and 3 deletions
|
|
@ -1,11 +1,9 @@
|
|||
import React, { useCallback } from 'react';
|
||||
import { useRecoilValue } from 'recoil';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { useQueryClient } from '@tanstack/react-query';
|
||||
import type { TMessage } from 'librechat-data-provider';
|
||||
import { QueryKeys, Constants } from 'librechat-data-provider';
|
||||
import { NewChatIcon, MobileSidebar, Sidebar, TooltipAnchor, Button } from '@librechat/client';
|
||||
import type { TMessage, TStartupConfig } from 'librechat-data-provider';
|
||||
import { getDefaultModelSpec, getModelSpecPreset } from '~/utils';
|
||||
import { useLocalize, useNewConvo } from '~/hooks';
|
||||
import store from '~/store';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue