remove unused code (#356)

This commit is contained in:
Brad Ullman
2023-04-01 23:19:10 -07:00
committed by GitHub
parent f9ddf07085
commit ae18abe931
3 changed files with 0 additions and 20 deletions
-9
View File
@@ -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 && (