Skip to content

Commit

Permalink
Fix input key issue and update React version
Browse files Browse the repository at this point in the history
  • Loading branch information
coji committed Feb 23, 2024
1 parent 013c5e0 commit 566067f
Show file tree
Hide file tree
Showing 3 changed files with 318 additions and 318 deletions.
2 changes: 1 addition & 1 deletion app/routes/demo.conform.value.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default function ConformValueDemoPage() {

<div>
<Label htmlFor={prefecture.id}>都道府県</Label>
<Input {...getInputProps(prefecture, { type: 'text' })} />
<Input {...getInputProps(prefecture, { type: 'text' })} key={prefecture.key} />
<div className="text-destructive">{prefecture.errors}</div>
</div>
<div>
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"isbot": "5.1.0",
"lucide-react": "0.336.0",
"next-themes": "^0.2.1",
"react": "18.3.0-canary-03d6f7cf0-20240209",
"react-dom": "18.3.0-canary-03d6f7cf0-20240209",
"react": "18.3.0-canary-47beb96cc-20240222",
"react-dom": "18.3.0-canary-47beb96cc-20240222",
"remix-toast": "^1.2.0",
"sonner": "^1.4.0",
"tailwind-merge": "2.2.1",
Expand All @@ -46,7 +46,7 @@
"@remix-run/serve": "2.7.2",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "20.11.19",
"@types/node": "20.11.20",
"@types/react": "18.2.57",
"@types/react-dom": "18.2.19",
"eslint": "8.56.0",
Expand Down
Loading

0 comments on commit 566067f

Please sign in to comment.