Skip to content

Commit ca843ad

Browse files
jyash97CompuIves
authored andcommitted
fix: submitting spaces to form (codesandbox#2978)
1 parent c66c1cd commit ca843ad

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/pages/common/Modals/FeedbackModal

1 file changed

+1
-1
lines changed

packages/app/src/app/pages/common/Modals/FeedbackModal/Feedback.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const Feedback: FunctionComponent<Props> = ({ id, user }) => {
126126
</EmojiButton>
127127

128128
<ButtonContainer>
129-
<Button disabled={loading} small>
129+
<Button disabled={loading || !feedback.trim()} small>
130130
{loading ? 'Sending...' : 'Submit'}
131131
</Button>
132132
</ButtonContainer>

0 commit comments

Comments
 (0)