Skip to content

Commit

Permalink
fix: render text field component as single element
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanjoshi914 committed Feb 13, 2025
1 parent f285d0d commit 4f769e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/form/TextField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const TextField = ({
tabIndex,
value,
}: React.InputHTMLAttributes<HTMLInputElement> & Props) => (
<>
<div>
<label htmlFor={id} className="font-medium text-gray-800 dark:text-white">
{label}
</label>
Expand Down Expand Up @@ -69,7 +69,7 @@ const TextField = ({
</p>
)}
</div>
</>
</div>
);

export default TextField;

0 comments on commit 4f769e5

Please sign in to comment.