From 3cf1898d73454dbcf23c9c28d7a083a105cec34b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=8F=8E=EF=B8=8F=20Yumo?= Date: Mon, 23 Dec 2024 14:46:11 +0800 Subject: [PATCH] refactor: delete repetitive style import --- .dumi/theme/common/PeterCat.tsx | 1 - .dumi/theme/layouts/GlobalLayout.tsx | 2 -- 2 files changed, 3 deletions(-) diff --git a/.dumi/theme/common/PeterCat.tsx b/.dumi/theme/common/PeterCat.tsx index ea0a159b..184abcd3 100644 --- a/.dumi/theme/common/PeterCat.tsx +++ b/.dumi/theme/common/PeterCat.tsx @@ -1,6 +1,5 @@ import { Assistant } from '@petercatai/assistant'; import React from 'react'; -import '@petercatai/assistant/style'; const PeterCat: React.FC = () => { return ( diff --git a/.dumi/theme/layouts/GlobalLayout.tsx b/.dumi/theme/layouts/GlobalLayout.tsx index 0e40bfff..3637ea4f 100644 --- a/.dumi/theme/layouts/GlobalLayout.tsx +++ b/.dumi/theme/layouts/GlobalLayout.tsx @@ -23,8 +23,6 @@ import type { ThemeName } from '../common/ThemeSwitch'; import type { SiteContextProps } from '../slots/SiteContext'; import SiteContext from '../slots/SiteContext'; -import '@petercatai/assistant/style'; - const ThemeSwitch = React.lazy(() => import('../common/ThemeSwitch')); type Entries = { [K in keyof T]: [K, T[K]] }[keyof T][];