Posts by Luuck4s • 11 points
1 post
-
1
votes2
answers1558
viewsA: Possible Unhandled Promise Rejection (React Native (HOOKS))
In your Api.js file switch to const api = axios.create({ baseURL: 'http://10.0.2.2:3001/api' }); and if you are using the expo const api = axios.create({ baseURL: 'http://**ip do expo**:3001/api'…