Skip to content

Commit

Permalink
馃悰 fix: fix setPluginMessage types
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jan 26, 2024
1 parent b753bab commit 39b4c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/lobeChat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class LobeChat {
top?.postMessage({ type: PluginChannel.fetchPluginMessage }, '*');
});

setPluginMessage = (content: any, triggerAiMessage: boolean) => {
setPluginMessage = (content: any, triggerAiMessage?: boolean) => {
top?.postMessage(
{ content, triggerAiMessage, type: PluginChannel.fillStandalonePluginContent },
'*',
Expand Down

0 comments on commit 39b4c9a

Please sign in to comment.