Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit fc64a53

Browse files
vitbokischclaude
andcommitted
Remove form.register workaround — fixed in @pyreon/form 0.10.0
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4f50202 commit fc64a53

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/create-zero/templates/default/src/routes/posts

packages/create-zero/templates/default/src/routes/posts/new.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ export default function NewPostPage() {
3333
<form onSubmit={(e: Event) => form.handleSubmit(e)}>
3434
<div class="form-field">
3535
<label for="title">Title</label>
36-
<input id="title" {...form.register('title', {})} />
36+
<input id="title" {...form.register('title')} />
3737
</div>
3838
<div class="form-field">
3939
<label for="body">Body</label>
40-
<textarea id="body" rows={6} {...form.register('body', {})} />
40+
<textarea id="body" rows={6} {...form.register('body')} />
4141
</div>
4242
<div class="form-field">
4343
<label class="checkbox-label">

0 commit comments

Comments
 (0)