Animate errors
This commit is contained in:
parent
02adb1e380
commit
eb449b6841
5 changed files with 19 additions and 10 deletions
|
|
@ -352,7 +352,7 @@ const Event = (props) => {
|
|||
buttonWidth={`${Math.max(t('event:form.button').length*11, 100)}px`}
|
||||
>{t('event:form.button')}</Button>
|
||||
</LoginForm>
|
||||
{error && <Error onClose={() => setError(null)}>{error}</Error>}
|
||||
<Error open={!!error} onClose={() => setError(null)}>{error}</Error>
|
||||
<Info>{t('event:form.info')}</Info>
|
||||
</>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue