From b8748a5f6494939ef73a5ddd9e913d2106755a81 Mon Sep 17 00:00:00 2001 From: canisminor1990 Date: Sun, 9 Jul 2023 18:53:28 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Modify=20import=20stateme?= =?UTF-8?q?nt=20for=20"SourceCode"=20component?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/slots/PreviewerActions/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slots/PreviewerActions/index.tsx b/src/slots/PreviewerActions/index.tsx index 17ecf5a..e14f845 100644 --- a/src/slots/PreviewerActions/index.tsx +++ b/src/slots/PreviewerActions/index.tsx @@ -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';