Skip to content

Commit

Permalink
refactor: delete repetitive style import
Browse files Browse the repository at this point in the history
  • Loading branch information
YumoImer committed Dec 23, 2024
1 parent e9c1b1e commit 3cf1898
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 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

0 comments on commit 3cf1898

Please sign in to comment.