Skip to content

Commit d6e76a7

Browse files
committed
fix #1165
1 parent aa307e4 commit d6e76a7

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

src/components/layout.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,6 @@ const Layout = ({ children }: { children: ReactNode }) => {
2828

2929
return (
3030
<>
31-
{/*<div className="banner">*/}
32-
{/* <p>*/}
33-
{/* Next-gen <strong>form building</strong> platform with code generation.*/}
34-
{/* <a*/}
35-
{/* href="https://beekai.com/"*/}
36-
{/* title="Learn more about BEEKAI form builder"*/}
37-
{/* target="_blank"*/}
38-
{/* rel="noreferrer"*/}
39-
{/* >*/}
40-
{/* Find out more*/}
41-
{/* </a>*/}
42-
{/* </p>*/}
43-
{/*</div>*/}
4431
<a className="skip-main" href="#main">
4532
Skip to content
4633
</a>

src/content/docs/useform/control.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function App() {
3535
return (
3636
<form onSubmit={handleSubmit(onSubmit)}>
3737
<Controller
38-
as={TextField}
38+
render={({ field }) => <input {...field} />}
3939
name="firstName"
4040
control={control}
4141
defaultValue=""

0 commit comments

Comments
 (0)