Skip to content

Commit

Permalink
Merge pull request #265 from fifieldt/fix-message-limit
Browse files Browse the repository at this point in the history
Allow single character messages in MessageInput
  • Loading branch information
Hunter275 authored Jul 24, 2024
2 parents 4653656 + 8c17a8b commit d6147f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PageComponents/Messages/MessageInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const MessageInput = ({
<span className="w-full">
<Input
autoFocus={true}
minLength={2}
minLength={1}
placeholder="Enter Message"
value={messageDraft}
onChange={(e) => setMessageDraft(e.target.value)}
Expand Down

0 comments on commit d6147f5

Please sign in to comment.