Skip to content

Commit f739d96

Browse files
committed
Merge branch 'bugs/error-message-signup-form' into 'master'
Fixed error messages for signup form fields Closes #32 See merge request SUSE-UIUX/eos-user-story!131
2 parents cdfa62c + 5a1a325 commit f739d96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/FormError.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const FormError = (props) => {
1919
{type === 'required' && 'This is required'}
2020
{type === 'validate' && 'Passwords do not match'}
2121
{type === 'emptyDescription' && 'Description cannot be empty'}
22+
{message !== null && message}
2223
</div>
2324
)}
2425
</div>

0 commit comments

Comments
 (0)