Skip to content

Commit 8e0aa1c

Browse files
committed
fix next demo
1 parent 073ec3e commit 8e0aa1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/demo-nextjs/src/app/Orama.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const Orama = () => {
1616
return (
1717
<div>
1818
<OramaSearchButton style={{ marginBottom: '24px' }} />
19-
<OramaSearchBox clientInstance={clientInstance} colorScheme={'light'} />
19+
<OramaSearchBox oramaCoreClientInstance={clientInstance} colorScheme={'light'} />
2020
<Tabs.Root className="TabsRoot" defaultValue="tab1">
2121
<Tabs.List className="TabsList" aria-label="Manage your account">
2222
<Tabs.Trigger className="TabsTrigger" value="tab1">
@@ -33,7 +33,7 @@ const Orama = () => {
3333
<p className="Text">Tab with chatbox here</p>
3434
<div style={{ height: '400px' }}>
3535
<OramaChatBox
36-
clientInstance={clientInstance}
36+
oramaCoreClientInstance={clientInstance}
3737
clearChatOnDisconnect={false}
3838
onClearChat={() => setInitialPrompt('')}
3939
onStartConversation={(e: Event) => console.log('onStartConversation', e)}

0 commit comments

Comments
 (0)