fix(client): avoid rendering inside a p tag

This commit is contained in:
Mrugesh Mohapatra
2019-10-20 14:27:00 +05:30
committed by mrugesh
parent 174c6f5c68
commit 2a449d03a3

View File

@ -39,7 +39,7 @@ function DonateCompletion({ processing, reset, success, error = null }) {
)}
{error && <p>{error}</p>}
</div>
<p className='donation-completion-buttons'>
<div className='donation-completion-buttons'>
{error && (
<div>
<Button bsStyle='primary' onClick={reset}>
@ -47,7 +47,7 @@ function DonateCompletion({ processing, reset, success, error = null }) {
</Button>
</div>
)}
</p>
</div>
</Alert>
);
}