Update FormSubmit.jsx

`void` operator expects one argument, otherwise it throws `Uncaught SyntaxError: Unexpected token )`
This commit is contained in:
Bernardo Dias 2018-05-01 16:02:31 -03:00 committed by GitHub
parent e102e87f77
commit aeef482e81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ const FormSubmit = ({
{deleteDocument ? (
<div>
<hr />
<a href="javascript:void()" onClick={deleteDocument} className={`delete-link ${collectionName}-delete-link`}>
<a href="javascript:void(0)" onClick={deleteDocument} className={`delete-link ${collectionName}-delete-link`}>
<Components.Icon name="close" /> <FormattedMessage id="forms.delete" />
</a>
</div>