Commit9daaf0cunknown_key
fix(types): JSX textarea rows should be number (2 errors cleared)
fix(types): JSX textarea rows should be number (2 errors cleared)
The JSX `rows` attribute on `<textarea>` is typed `number | undefined`,
not string. Change `rows="3"`/`rows="2"` to `rows={3}`/`rows={2}`.
JSX serialises either form identically in the rendered HTML, so
runtime/DOM behaviour is unchanged — pure type-only fix in the same
class as the form-method casing precedent.
tsc: 20 -> 18 errors.
https://claude.ai/code/session_0155D2jj2kJXaMEnyJhRpRLg2 files changed+2−29daaf0c2ac44c7981fa045205ca76be3be7f63da
2 changed files+2−2
Modifiedsrc/routes/marketplace.tsx+1−1View fileUnifiedSplit
@@ -311,7 +311,7 @@ marketplace.get("/developer/apps-new", requireAuth, async (c) => {
311311 </div>
312312 <div class="form-group">
313313 <label>Description</label>
314 <textarea name="description" rows="3" style="width:100%" />
314 <textarea name="description" rows={3} style="width:100%" />
315315 </div>
316316 <div class="form-group">
317317 <label>Homepage URL</label>
Modifiedsrc/routes/sponsors.tsx+1−1View fileUnifiedSplit
@@ -328,7 +328,7 @@ sponsors.get("/settings/sponsors", requireAuth, async (c) => {
328328 </div>
329329 <div class="form-group">
330330 <label>Description</label>
331 <textarea name="description" rows="2" style="width:100%" />
331 <textarea name="description" rows={2} style="width:100%" />
332332 </div>
333333 <div class="form-group">
334334 <label>Monthly amount (cents)</label>
335335