Skip to content

docs: fix README example import and typos - #495

Open
ZayanKhan-12 wants to merge 1 commit into
teslamotors:masterfrom
ZayanKhan-12:readme-typo-fixes
Open

docs: fix README example import and typos#495
ZayanKhan-12 wants to merge 1 commit into
teslamotors:masterfrom
ZayanKhan-12:readme-typo-fixes

Conversation

@ZayanKhan-12

Copy link
Copy Markdown

The "Creating Your Own Fields" example throws as written: it imports FormState — a type-only export (index.d.ts) that the example never uses — while rendering <Debug /> without importing it, so pasting the example yields ReferenceError: Debug is not defined. The first example on the page imports Debug correctly; this change does the same.

Also fixes typos throughout: the gihub badge label, doubled "render render" (×2), "Dynaic" (×2), "strucutre", "cotains", "hand;er", "structre", "alows", and "singe page".

🤖 Generated with Claude Code

The full hooks example imported FormState - a type-only export that
the example never uses - while rendering <Debug /> without importing
it, so the code throws a ReferenceError as written. The first example
imports Debug correctly; do the same here.

Also fix typos: badge label 'gihub', doubled 'render render' (x2),
'Dynaic' (x2), 'strucutre', 'cotains', 'hand;er', 'structre',
'alows', and 'singe page'.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant