Skip to content

Commit 17aa1b5

Browse files
authored
fix: update broken custom components docs link in config types jsdoc (#15794)
<!-- Thank you for the PR! Please go through the checklist below and make sure you've completed all the steps. Please review the [CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md) document in this repository if you haven't already. The following items will ensure that your PR is handled as smoothly as possible: - PR Title must follow conventional commits format. For example, `feat: my new feature`, `fix(plugin-seo): my fix`. - Minimal description explained as if explained to someone not immediately familiar with the code. - Provide before/after screenshots or code diffs if applicable. - Link any related issues/discussions from GitHub or Discord. - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? ### Why? ### How? Fixes # --> ### What? Fix a broken documentation link in the `Config` type JSDoc for admin custom components. - Updated: - `https://payloadcms.com/docs/admin/custom-components/overview` - To: - `https://payloadcms.com/docs/custom-components/overview` ### Why? The previous URL was broken/outdated, so developers reading type definitions were sent to an invalid docs path. ### How? Changed the `@see` link in: - `packages/payload/src/config/types.ts` No runtime behavior or API logic changed; this is a docs-link correction only.
1 parent 66a2efa commit 17aa1b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/payload/src/config/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ export type Config = {
854854
/**
855855
* Add extra and/or replace built-in components with custom components
856856
*
857-
* @see https://payloadcms.com/docs/admin/custom-components/overview
857+
* @see https://payloadcms.com/docs/custom-components/overview
858858
*/
859859
components?: {
860860
/**

0 commit comments

Comments
 (0)