Skip to content

Admin Panel API typo in example - #2508

Merged
pwizla merged 3 commits into
strapi:mainfrom
martinschilliger:patch-2
Jun 4, 2025
Merged

pwizla merged 3 commits into
strapi:mainfrom
martinschilliger:patch-2

Conversation

@martinschilliger

Copy link
Copy Markdown
Contributor

What does it do?

Per documentation injectComponent() is being called with no arguments, and then immediately called again as if it returned a function. That way it doesn't work and I always had console errors, the code itself is valid and so my IDE didn't catch it.

@vercel

vercel Bot commented May 30, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2025 6:58am

@strapi-cla

strapi-cla commented May 30, 2025 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@martinschilliger

Copy link
Copy Markdown
Contributor Author

Found another typo

@pwizla pwizla left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you very much for fixing the typo, @martinschilliger!

The PR is now approved, merged, should be live on docs.strapi.io in a few minutes, and will be mentioned in the next weekly snapshot release.

@pwizla pwizla added this to the 6.5.0 milestone Jun 4, 2025
@pwizla
pwizla merged commit cf369a8 into strapi:main Jun 4, 2025
pwizla pushed a commit that referenced this pull request Jun 4, 2025
* docs(typo): Admin Panel API typo in example

* docs(typo): content-manager-apis removed ` at the end of the line
pwizla added a commit that referenced this pull request Jun 4, 2025
* docs(typo): Admin Panel API typo in example

* docs(typo): content-manager-apis removed ` at the end of the line

Co-authored-by: Martin Schilliger <martin_schilliger@bluewin.ch>

This branch was successfully deployed

1 active deployment
Preview — 0ff698a3 Deployed May 30, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants