Skip to content

Commit 1cbbb5f

Browse files
committed
solution: update text letter count
1 parent 3ee11d0 commit 1cbbb5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MessageForm/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const MessageForm = ({ user }) => {
3131
</Form.Group>
3232
<div className="MessageForm_Options">
3333
<span className="MessageForm_TextCount" title="text-count">
34-
0 / {MAX_MESSAGE_TEXT_LENGTH} {/* TODO: update text letter count */}
34+
{text.length} / {MAX_MESSAGE_TEXT_LENGTH}
3535
</span>
3636
<Button
3737
className="MessageForm_TweetButton"

0 commit comments

Comments
 (0)