Skip to content

Commit

Permalink
fix: fixed typo in id for aria error messages (remix-run#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethvdberghe authored Mar 28, 2022
1 parent bff6bd2 commit 8b925b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/notes/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function NewNotePage() {
/>
</label>
{actionData?.errors?.title && (
<div className="pt-1 text-red-700" id="title=error">
<div className="pt-1 text-red-700" id="title-error">
{actionData.errors.title}
</div>
)}
Expand All @@ -96,7 +96,7 @@ export default function NewNotePage() {
/>
</label>
{actionData?.errors?.body && (
<div className="pt-1 text-red-700" id="body=error">
<div className="pt-1 text-red-700" id="body-error">
{actionData.errors.body}
</div>
)}
Expand Down

0 comments on commit 8b925b4

Please sign in to comment.