remove unused code (#356)
This commit is contained in:
@@ -3,7 +3,6 @@ import { KeyValuePair } from '@/types/data';
|
||||
import { SupportedExportFormats } from '@/types/export';
|
||||
import { Folder } from '@/types/folder';
|
||||
import {
|
||||
IconArrowBarLeft,
|
||||
IconFolderPlus,
|
||||
IconMessagesOff,
|
||||
IconPlus,
|
||||
@@ -29,7 +28,6 @@ interface Props {
|
||||
onToggleLightMode: (mode: 'light' | 'dark') => void;
|
||||
onSelectConversation: (conversation: Conversation) => void;
|
||||
onDeleteConversation: (conversation: Conversation) => void;
|
||||
onToggleSidebar: () => void;
|
||||
onUpdateConversation: (
|
||||
conversation: Conversation,
|
||||
data: KeyValuePair,
|
||||
@@ -54,7 +52,6 @@ export const Chatbar: FC<Props> = ({
|
||||
onToggleLightMode,
|
||||
onSelectConversation,
|
||||
onDeleteConversation,
|
||||
onToggleSidebar,
|
||||
onUpdateConversation,
|
||||
onApiKeyChange,
|
||||
onClearConversations,
|
||||
@@ -138,12 +135,6 @@ export const Chatbar: FC<Props> = ({
|
||||
>
|
||||
<IconFolderPlus size={18} />
|
||||
</button>
|
||||
|
||||
<IconArrowBarLeft
|
||||
className="ml-1 hidden cursor-pointer p-1 text-neutral-300 hover:text-neutral-400 sm:flex"
|
||||
size={32}
|
||||
onClick={onToggleSidebar}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{conversations.length > 1 && (
|
||||
|
||||
Reference in New Issue
Block a user