Skip to content

Commit

Permalink
refactor: delete repetitive style import (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
YumoImer authored Dec 23, 2024
1 parent 23459e4 commit 008fcf8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .dumi/theme/common/PeterCat.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Assistant } from '@petercatai/assistant';
import React from 'react';
import '@petercatai/assistant/style';

const PeterCat: React.FC = () => {
return (
Expand Down
2 changes: 0 additions & 2 deletions .dumi/theme/layouts/GlobalLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<T> = { [K in keyof T]: [K, T[K]] }[keyof T][];
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
"devDependencies": {
"@ant-design/tools": "^18.0.2",
"@petercatai/assistant": "^2.0.2",
"@petercatai/assistant": "^2.0.5",
"@antv/gpt-vis": "^0.3.0",
"@biomejs/biome": "^1.9.0",
"@codecov/webpack-plugin": "^1.4.0",
Expand Down

0 comments on commit 008fcf8

Please sign in to comment.