File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ The `useForm` hook returns an object with the following properties:
386
386
387
387
388
388
\`\`\` tsx
389
- import { useForm } from "payload/components/forms";
389
+ import { useForm } from "@payloadcms/ui"
390
390
391
391
export const CustomArrayManager = () => {
392
392
const { addFieldRow } = useForm()
@@ -488,7 +488,7 @@ const ExampleCollection = {
488
488
489
489
490
490
\`\`\` tsx
491
- import { useForm } from "payload/components/forms";
491
+ import { useForm } from "@payloadcms/ui"
492
492
493
493
export const CustomArrayManager = () => {
494
494
const { removeFieldRow } = useForm()
@@ -589,7 +589,7 @@ const ExampleCollection = {
589
589
590
590
591
591
\`\`\` tsx
592
- import { useForm } from "payload/components/forms";
592
+ import { useForm } from "@payloadcms/ui"
593
593
594
594
export const CustomArrayManager = () => {
595
595
const { replaceFieldRow } = useForm()
You can’t perform that action at this time.
0 commit comments