Skip to content

Commit

Permalink
Update input.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
jdinh8124 committed Aug 20, 2024
1 parent 2acf171 commit e51b49f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react-app/src/components/Inputs/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { InputProps } from "shared-types";
const Input = React.forwardRef<HTMLInputElement, InputProps>(
({ className, icon, iconRight, ...props }, ref) => {
return (
<span
<div
className={cn(
"relative",
icon && !className.includes("w-full") && "w-fit",
Expand All @@ -31,7 +31,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
id={props.name}
{...props}
/>
</span>
</div>
);
},
);
Expand Down

0 comments on commit e51b49f

Please sign in to comment.