Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb557f1f

Browse files
committed
solution: disable tweet when no text
1 parent3b2d2f6 commitb557f1f

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
@@ -38,7 +38,7 @@ export const MessageForm = ({ user }) => {
3838
variant="primary"
3939
type="submit"
4040
role="tweet"
41-
/* TODO: disable button if notext */
41+
disabled={text.length<1}
4242
>
4343
Tweet
4444
</Button>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp