Skip to content

Commit

Permalink
Refactor import paths in Conversation.vue and MessageList.vue to use …
Browse files Browse the repository at this point in the history
…absolute paths for consistency.
  • Loading branch information
swuecho committed Sep 8, 2024
1 parent 26447e0 commit 2488c35
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions web/src/views/chat/components/Conversation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ import { NAutoComplete, NButton, NInput, NModal, useDialog, useMessage } from 'n
import { storeToRefs } from 'pinia'
import html2canvas from 'html2canvas'
import { type OnSelect } from 'naive-ui/es/auto-complete/src/interface'
import { useScroll } from './hooks/useScroll'
import { useChat } from './hooks/useChat'
import { useCopyCode } from './hooks/useCopyCode'
import HeaderComponent from './components/Header/index.vue'
import SessionConfig from './components/Session/SessionConfig.vue'
import { useScroll } from '@/views/chat/hooks/useScroll'
import { useChat } from '@/views/chat/hooks/useChat'
import { useCopyCode } from '@/views/chat/hooks/useCopyCode'
import HeaderComponent from '@/views/chat/components/Header/index.vue'
import SessionConfig from '@/views/chat/components/Session/SessionConfig.vue'
import { createChatBot, createChatSnapshot, fetchChatStream } from '@/api'
import { HoverButton, SvgIcon } from '@/components/common'
import { useBasicLayout } from '@/hooks/useBasicLayout'
import { useChatStore, usePromptStore } from '@/store'
import { t } from '@/locales'
import { genTempDownloadLink } from '@/utils/download'
import { nowISO } from '@/utils/date'
import UploadModal from './components/UploadModal.vue'
import UploaderReadOnly from './components/UploaderReadOnly.vue'
import ModelSelector from './components/ModelSelector.vue'
import MessageList from './components/MessageList.vue'
import UploadModal from '@/views/chat/components/UploadModal.vue'
import UploaderReadOnly from '@/views/chat/components/UploaderReadOnly.vue'
import ModelSelector from '@/views/chat/components/ModelSelector.vue'
import MessageList from '@/views/chat/components/MessageList.vue'
import PromptGallery from '@/views/chat/components/PromptGallery/index.vue'
import { getDataFromResponseText } from '@/utils/string'
let controller = new AbortController()
Expand Down
2 changes: 1 addition & 1 deletion web/src/views/chat/components/MessageList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import Message from './Message/index.vue';
import { computed, ref } from 'vue';
import { useChatStore } from '@/store';
import { useChat } from '../hooks/useChat'
import { useChat } from '@/views/chat/hooks/useChat'
import { updateChatData } from '@/api'
import { useDialog } from 'naive-ui'
Expand Down

0 comments on commit 2488c35

Please sign in to comment.