Skip to content

Commit

Permalink
feat: change to MessageRenderer
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Jan 11, 2024
1 parent b6fb574 commit 190907c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/dependencies/register_assistant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DataGridContainer } from './components/data_grid_container';
export const registerAsssitantDependencies = (setup?: AssistantSetup) => {
if (!setup) return;

setup.registerContentRenderer('ppl_data_grid', (content, renderProps) => {
setup.registerMessageRenderer('ppl_data_grid', (content, renderProps) => {
const params = content as IMessage;
return (
<Provider store={store}>
Expand Down

0 comments on commit 190907c

Please sign in to comment.