I'm still a newbie in Reactjs and I'm trying to build a single page for my project. And I'm thinking to click the logo image and reload the page.
I have tried 2 ways, one is using <a href="javscript:location:reload: true"> in front of image element but I got this Script URL is a form of eval  no-script-url in my console.
I also tried onClick eventlistener but nothing is working.
I appreciate any helps, or new way to build this?
Below is my Home.js
class Home extends React.Component {
   render() {
     return (
       <div>
         <a href="javascript:location.reload(true)"><img src={MindScribeLogo} className="HomePage" alt="logo" /></a>
       <div>
         <img src={MindScribeZebra} className="HomePage" alt="zebra" />
       </div>
     </div>
    );
  }
}
export default Home;
Below is my App.js
class App extends Component {
  render() {
    return (
      <div className="App">
      <Home/>
    );
  }
}
 
    