fix and refactor websocket
This commit is contained in:
parent
728ba716b8
commit
354f35c690
5 changed files with 22 additions and 177 deletions
|
|
@ -23,7 +23,9 @@ import {
|
|||
getOrCreateChat,
|
||||
sendChatMessage,
|
||||
} from 'src/api/chats.js'
|
||||
import { WSConnectionStatus } from 'src/api/public.js'
|
||||
import {
|
||||
WSConnectionStatus,
|
||||
} from 'src/api/websocket.js'
|
||||
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import { faChevronDown, faChevronLeft } from '@fortawesome/free-solid-svg-icons'
|
||||
|
|
|
|||
|
|
@ -13,8 +13,10 @@ import { useOAuthStore } from 'src/stores/oauth.js'
|
|||
import {
|
||||
fetchConversation,
|
||||
fetchStatus,
|
||||
WSConnectionStatus,
|
||||
} from 'src/api/public.js'
|
||||
import {
|
||||
WSConnectionStatus,
|
||||
} from 'src/api/websocket.js'
|
||||
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue