Skip to content

Commit

Permalink
🐛 fix: Modify import statement for "SourceCode" component
Browse files Browse the repository at this point in the history
The import statement for the "SourceCode" component in "src/slots/PreviewerActions/index.tsx" has been changed from "dumi/theme/builtins/SourceCode" to "dumi/theme-default/builtins/SourceCode". This fix ensures that the correct component is imported and used in the code.
  • Loading branch information
canisminor1990 committed Jul 9, 2023
1 parent 170fe77 commit b8748a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slots/PreviewerActions/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ActionIcon, TabsNav } from '@lobehub/ui';
import { type IPreviewerProps, openCodeSandbox, openStackBlitz, useIntl } from 'dumi';
import SourceCode from 'dumi/theme/builtins/SourceCode';
import SourceCode from 'dumi/theme-default/builtins/SourceCode';
import { Code, Code2, Codesandbox, MonitorUp, Zap } from 'lucide-react';
import { type FC, type ReactNode, useState } from 'react';

Expand Down

0 comments on commit b8748a5

Please sign in to comment.