Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #48483 #49694

Closed
7 changes: 7 additions & 0 deletions examples/with-ant-design/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import {
import type { DatePickerProps } from 'antd'
import { SmileFilled } from '@ant-design/icons'
import Link from 'next/link'
import Head from 'next/head'


const FormItem = Form.Item

Expand All @@ -26,6 +28,10 @@ export default function Home() {
}

return (
<div>
<Head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/antd/dist/antd.css" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the heads up ! I'll make the necessary changes.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @B2o5T
I have made the changes according to your suggestion.

</Head>
<div style={content}>
<div className="text-center mb-5">
<Link href="#" className="logo mr-0">
Expand Down Expand Up @@ -97,5 +103,6 @@ export default function Home() {
</Form>
</div>
</div>
</div>
)
}