mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
Update FormSubmit.jsx
`void` operator expects one argument, otherwise it throws `Uncaught SyntaxError: Unexpected token )`
This commit is contained in:
parent
e102e87f77
commit
aeef482e81
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue