I moved the getUserLocation outside the render. But i still didn’t succeed to get a “pressed a button” log. The props of FechtLocation is still undefined. I did succeed to log the function from the App.js like this.