Skip to content

Commit

Permalink
Error message fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-jeremy committed Oct 4, 2023
1 parent 66b7048 commit e834e33
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ function SingleInput({
onEnter={e => _onSubmit(e.currentTarget.value)}
/>
</InitialFocus>
<FormError style={{ paddingTop: 5 }}>* {errorMessage}</FormError>
{errorMessage && (
<FormError style={{ paddingTop: 5 }}>
* {errorMessage}
</FormError>
)}
</View>
</View>

Expand Down

0 comments on commit e834e33

Please sign in to comment.