Skip to content

Commit

Permalink
fix: rename vis-chart to vis-db-chart
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed Sep 3, 2024
1 parent ecc3cb5 commit 0d0fbeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/components/chat/chat-content/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const codeComponents = {
return <CodePreview language={lang} code={content} />;
}
},
'vis-chart': ({ className, children }) => {
'vis-db-chart': ({ className, children }) => {
const content = String(children);
const lang = className?.replace('language-', '') || 'javascript';
try {
Expand Down

0 comments on commit 0d0fbeb

Please sign in to comment.