Skip to content

Commit

Permalink
fix: text input value should update
Browse files Browse the repository at this point in the history
  • Loading branch information
willydouhard committed Jan 8, 2025
1 parent dc20272 commit 4af0f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/ChatSettings/TextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ const TextInput = ({
disabled={disabled}
id={id}
name={id}
{...rest}
onChange={(e) => setField?.(id, e.target.value)}
className={`text-sm font-normal my-0.5 ${className ?? ''}`}
{...rest}
/>
</InputStateHandler>
);
Expand Down

0 comments on commit 4af0f23

Please sign in to comment.