Skip to content

Commit 6a727c3

Browse files
committed
fix: change client type to fix build error
1 parent a2cf9e1 commit 6a727c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Main.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Conversation from './main/Conversation'
1212
<main class="flex-1 mt-14 flex flex-col overflow-hidden">
1313
<!-- <ConversationConfiguration /> -->
1414
<div class="flex-1 relative overflow-hidden">
15-
<Conversation client:load />
15+
<Conversation client:only />
1616
</div>
1717
</main>
1818
<Send client:load />

src/components/main/MessageItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { For, Show } from 'solid-js/web'
22
import { createSignal } from 'solid-js'
33
import { useStore } from '@nanostores/solid'
4-
import { useClipboardCopy } from '../../hooks'
4+
import { useClipboardCopy } from '@/hooks'
55
import { deleteMessageByConversationId, spliceMessageByConversationId, spliceUpdateMessageByConversationId } from '@/stores/messages'
66
import { conversationMap } from '@/stores/conversation'
77
import { handlePrompt } from '@/logics/conversation'

0 commit comments

Comments
 (0)