Skip to content

Commit

Permalink
fix: change client type to fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
yzh990918 committed May 8, 2023
1 parent a2cf9e1 commit 6a727c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Main.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Conversation from './main/Conversation'
<main class="flex-1 mt-14 flex flex-col overflow-hidden">
<!-- <ConversationConfiguration /> -->
<div class="flex-1 relative overflow-hidden">
<Conversation client:load />
<Conversation client:only />
</div>
</main>
<Send client:load />
Expand Down
2 changes: 1 addition & 1 deletion src/components/main/MessageItem.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { For, Show } from 'solid-js/web'
import { createSignal } from 'solid-js'
import { useStore } from '@nanostores/solid'
import { useClipboardCopy } from '../../hooks'
import { useClipboardCopy } from '@/hooks'
import { deleteMessageByConversationId, spliceMessageByConversationId, spliceUpdateMessageByConversationId } from '@/stores/messages'
import { conversationMap } from '@/stores/conversation'
import { handlePrompt } from '@/logics/conversation'
Expand Down

0 comments on commit 6a727c3

Please sign in to comment.