Skip to content

Commit 008fcf8

Browse files
authored
refactor: delete repetitive style import (#394)
1 parent 23459e4 commit 008fcf8

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

.dumi/theme/common/PeterCat.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Assistant } from '@petercatai/assistant';
22
import React from 'react';
3-
import '@petercatai/assistant/style';
43

54
const PeterCat: React.FC = () => {
65
return (

.dumi/theme/layouts/GlobalLayout.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ import type { ThemeName } from '../common/ThemeSwitch';
2323
import type { SiteContextProps } from '../slots/SiteContext';
2424
import SiteContext from '../slots/SiteContext';
2525

26-
import '@petercatai/assistant/style';
27-
2826
const ThemeSwitch = React.lazy(() => import('../common/ThemeSwitch'));
2927

3028
type Entries<T> = { [K in keyof T]: [K, T[K]] }[keyof T][];

bun.lockb

-2.5 KB
Binary file not shown.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
},
9898
"devDependencies": {
9999
"@ant-design/tools": "^18.0.2",
100-
"@petercatai/assistant": "^2.0.2",
100+
"@petercatai/assistant": "^2.0.5",
101101
"@antv/gpt-vis": "^0.3.0",
102102
"@biomejs/biome": "^1.9.0",
103103
"@codecov/webpack-plugin": "^1.4.0",

0 commit comments

Comments
 (0)