Skip to content

Commit 789ff00

Browse files
Copilotfi3ework
andcommitted
fix(website): adapt @rspress/core v2.0.0-rc.3 breaking changes
Co-authored-by: fi3ework <12322740+fi3ework@users.noreply.github.com>
1 parent ef6ae05 commit 789ff00

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

website/theme/index.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,19 @@ import { useLang } from '@rspress/core/runtime'
33
import {
44
getCustomMDXComponent as BaseGetCustomMDXComponent,
55
Layout as BaseLayout,
6-
} from '@rspress/core/theme'
6+
} from '@rspress/core/theme-original'
77
import {
88
Search as PluginAlgoliaSearch,
99
ZH_LOCALES,
1010
} from '@rspress/plugin-algolia/runtime'
11-
import { NavIcon } from '@rstack-dev/doc-ui/nav-icon'
12-
13-
export * from '@rspress/core/theme'
14-
1511
import {
1612
LlmsContainer,
1713
LlmsCopyButton,
1814
LlmsViewOptions,
1915
} from '@rspress/plugin-llms/runtime'
16+
import { NavIcon } from '@rstack-dev/doc-ui/nav-icon'
17+
18+
export * from '@rspress/core/theme-original'
2019

2120
export const Layout = () => {
2221
return <BaseLayout beforeNavTitle={<NavIcon />} />

0 commit comments

Comments
 (0)