Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Clear console warning about href
Browse files Browse the repository at this point in the history
  • Loading branch information
meissadia committed Aug 5, 2020
1 parent 5ec0b15 commit bd71f60
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/publications/RegenerateButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ import Message from './Message'

export const RegenerateButton = ({ onClick, error, message }) => (
<>
<a
<span
onClick={onClick}
className="inputSubmit"
role="button"
style={{ margin: '0 auto' }}
>
Regenerate
</a>
</span>
<Message isError={error} message={message} />
</>
)

0 comments on commit bd71f60

Please sign in to comment.