remove input error from form and just use red text to avoid clash with the actual input errors

This commit is contained in:
Matthew Russell 2022-03-08 12:26:28 -08:00
parent 145e2558aa
commit af2f05b778

View File

@ -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>