import React from 'react';

export default class Header extends React.Component {

  /*
  *  Handle onClick event with header image. The current window will be changed to the fokus home page.
  */
  static fokusTab() {
    window.open('/src/html/home.html').focus();
  }

  constructor(props) {
    super(props);
  }

  render() {
    return (
      <div className='fokus-link'>
        <img src='/png/fokus_title_128.png' alt='fokus' onClick={Header.fokusTab} />
      </div>
    );
  }
}

import React from 'react';

export default class Header extends React.Component {

  /*
  *  Handle onClick event with header image. The current window will be changed to the fokus home page.
  */
  static fokusTab() {
    window.open('/src/html/home.html').focus();
  }

  render() {
    return (
      <div className='fokus-link'>
        <img src='/png/fokus_title_128.png' alt='fokus' onClick={Header.fokusTab} />
      </div>
    );
  }
}

Remove unnecessary constructor from Header
Remove unnecessary constructor from Header
