remove input error from form and just use red text to avoid clash with the actual input errors
This commit is contained in:
parent
145e2558aa
commit
af2f05b778
@ -72,11 +72,7 @@ export function RestConnectorForm({
|
||||
<InputError intent="danger">{errors.passphrase.message}</InputError>
|
||||
)}
|
||||
</FormGroup>
|
||||
{error && (
|
||||
<InputError intent="danger" className="mb-12">
|
||||
{error}
|
||||
</InputError>
|
||||
)}
|
||||
{error && <p className="text-intent-danger mb-12">{error}</p>}
|
||||
<Button variant="primary" type="submit">
|
||||
Connect
|
||||
</Button>
|
||||
|
Loading…
Reference in New Issue
Block a user