We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 276dcd4 commit 30e7433Copy full SHA for 30e7433
examples/react/simple/src/index.tsx
@@ -1,6 +1,6 @@
1
import React from "react";
2
import ReactDOM from "react-dom/client";
3
-import { FieldApi, createFormFactory } from "@tanstack/react-form";
+import { FieldApi, createFormFactory, useField } from "@tanstack/react-form";
4
5
type Person = {
6
firstName: string;
@@ -96,7 +96,7 @@ export default function App() {
96
>
97
{!hobbiesField.state.value.length
98
? "No hobbies found."
99
- : hobbiesField.state.value.map((value, i) => (
+ : hobbiesField.state.value.map((_, i) => (
100
<div
101
key={i}
102
style={{
0 commit comments