docs: fix use-with-next.md (#45219)

Co-authored-by: chenyuanbao@baidu.com <chenyuanbao@baidu.com>
This commit is contained in:
CYB292 2023-10-08 19:41:34 +08:00 committed by GitHub
parent cece6e27df
commit e5daf772f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -129,7 +129,7 @@ import React from 'react';
import { ConfigProvider } from 'antd';
import type { AppProps } from 'next/app';
import theme from './themeConfig';
import theme from './theme/themeConfig';
const App = ({ Component, pageProps }: AppProps) => (
<ConfigProvider theme={theme}>
@ -236,7 +236,7 @@ export default theme;
import React from 'react';
import { Button, ConfigProvider } from 'antd';
import theme from './themeConfig';
import theme from './theme/themeConfig';
const HomePage = () => (
<ConfigProvider theme={theme}>

View File

@ -129,7 +129,7 @@ import React from 'react';
import { ConfigProvider } from 'antd';
import type { AppProps } from 'next/app';
import theme from './themeConfig';
import theme from './theme/themeConfig';
const App = ({ Component, pageProps }: AppProps) => (
<ConfigProvider theme={theme}>
@ -236,7 +236,7 @@ export default theme;
import React from 'react';
import { Button, ConfigProvider } from 'antd';
import theme from './themeConfig';
import theme from './theme/themeConfig';
const HomePage = () => (
<ConfigProvider theme={theme}>