Skip to content

fix(inferencer): correct typos in user-facing error messages#7455

Open
yashs33244 wants to merge 1 commit into
refinedev:mainfrom
yashs33244:fix/inferencer-error-message-typos
Open

fix(inferencer): correct typos in user-facing error messages#7455
yashs33244 wants to merge 1 commit into
refinedev:mainfrom
yashs33244:fix/inferencer-error-message-typos

Conversation

@yashs33244

Copy link
Copy Markdown

Summary

Two user-facing error strings in @refinedev/inferencer misspelled "occured" (correct: "occurred"), and one ran a sentence together with no space ("component.You"). This corrects the spelling in both places and adds the missing space.

Changes

  • Fix "occured" → "occurred" in use-infer-fetch/index.tsx (console warning) and components/live/index.tsx (render-error HTML)
  • Add the missing space in the render-error string ("component. You")
  • Add a changeset

No behavior change — text-only edits inside existing string literals.

Fix the misspelled "occured" -> "occurred" in the error messages shown
when fetching resource data fails and when the generated component fails
to render. Also add the missing space after the period in the component
render error message ("component.You" -> "component. You").
Copilot AI review requested due to automatic review settings June 15, 2026 02:38
@changeset-bot

changeset-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 95bca61

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@refinedev/inferencer Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Fixes typos in user-facing error messages in the inferencer package.

Changes:

  • Corrected “occured” → “occurred” in fetch warning message.
  • Corrected “occured” → “occurred” and added missing space after a period in live component render error HTML.
  • Added a changeset for a patch release documenting the typo fixes.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/inferencer/src/use-infer-fetch/index.tsx Fixes typo in console warning message shown on fetch failure.
packages/inferencer/src/components/live/index.tsx Fixes typos/spacing in user-facing render error HTML string.
.changeset/wild-buttons-fix.md Adds patch changeset documenting corrected user-facing error message typos.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/inferencer/src/components/live/index.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants