From 5635ec513ef8e2bfe3bf23fa915d3262b7843c41 Mon Sep 17 00:00:00 2001 From: codeflorist <41453547+codeflorist@users.noreply.github.com> Date: Thu, 5 Jun 2025 02:35:51 +0200 Subject: [PATCH] docs: fix import statements for `plugin-nested-docs` (#12494) The module `@payloadcms/plugin-nested-docs/fields` does not seem to exist (anymore). Instead `createParentField` and `createBreadcrumbsField` are exported by `@payloadcms/plugin-nested-docs` --- docs/plugins/nested-docs.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/plugins/nested-docs.mdx b/docs/plugins/nested-docs.mdx index 630a5143a6..5725bdabc2 100644 --- a/docs/plugins/nested-docs.mdx +++ b/docs/plugins/nested-docs.mdx @@ -180,8 +180,8 @@ and `createBreadcrumbField` methods. They will merge your customizations overtop ```ts import type { CollectionConfig } from 'payload' -import { createParentField } from '@payloadcms/plugin-nested-docs/fields' -import { createBreadcrumbsField } from '@payloadcms/plugin-nested-docs/fields' +import { createParentField } from '@payloadcms/plugin-nested-docs' +import { createBreadcrumbsField } from '@payloadcms/plugin-nested-docs' const examplePageConfig: CollectionConfig = { slug: 'pages',