So I'm using react-router-dom, here when I click of this link it should fire a function with an api request. what I want to do is to not move to next component it is linked to until I get the response from the request I make in this function

```
postFinal = () =>{
    fetch('', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      body: 
    })
}

 <div className="row">
   <Link to={`/itemSelection/Confirmation`} className="btn" onClick={this.postFinal}>DONE</Link>
 </div>

```