Skip to content

Commit

Permalink
refactor: move chat-sidebar related components to router's components…
Browse files Browse the repository at this point in the history
… dir
  • Loading branch information
wsxiaoys committed Nov 20, 2023
1 parent 352db4e commit d2281c7
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
TooltipContent,
TooltipTrigger
} from '@/components/ui/tooltip'
import { EditChatTitleDialog } from '@/components/edit-chat-title-dialog'
import { EditChatTitleDialog } from './edit-chat-title-dialog'
import { useStore } from '@/lib/hooks/use-store'
import { Button } from '@/components/ui/button'
import { ListSkeleton } from '@/components/skeleton'
Expand Down
2 changes: 1 addition & 1 deletion ee/tabby-ui/app/playground/components/chats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react'
import { Chat } from '@/components/chat'
import { useChatStore } from '@/lib/stores/chat-store'
import { getChatById } from '@/lib/stores/utils'
import { ChatSessions } from '@/components/chat-sessions'
import { ChatSessions } from './chat-sessions'
import { useStore } from '@/lib/hooks/use-store'
import type { Message } from 'ai'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { IconArrowElbow, IconEdit, IconTrash } from '@/components/ui/icons'

import { Input } from '@/components/ui/input'
import { updateChat } from '@/lib/stores/chat-actions'
import { Button } from './ui/button'
import { Button } from '@/components/ui/button'

interface EditChatTitleDialogProps {
initialValue: string | undefined
Expand Down
38 changes: 0 additions & 38 deletions ee/tabby-ui/components/chat-context.tsx

This file was deleted.

0 comments on commit d2281c7

Please sign in to comment.