You are not providing the event argument when calling "handleClickTab" method so it will throw the error i mentioned in the title, just change:
onClick={() => this.handleClickTab(0)} to onClick={(event) => this.handleClickTab(0, event)}
and
onClick={() => this.handleClickTab(1)} to onClick={(event) => this.handleClickTab(1, event)}
You are not providing the event argument when calling "handleClickTab" method so it will throw the error i mentioned in the title, just change: onClick={() => this.handleClickTab(0)} to onClick={(event) => this.handleClickTab(0, event)}
and
onClick={() => this.handleClickTab(1)} to onClick={(event) => this.handleClickTab(1, event)}
and it should be good :)