HI Everybody I'm trying to create a Navbar in React with Bootstrap but I need when I click the button it makes the request to the API

[HERE ARE THE COMPONENTS]
(https://codepen.io/edisonjao5/project/editor/ZmpNER)