SyntaxFix
Write A Post
Hire A Developer
Questions
You can use this
<a onClick={() => {window.location.href="/something"}}>Something</a>