axios.get('http://192.168.0.103:3000/weather/Hourly?longitude=${coords.longitude}&latitude=${coords.latitude}') .then(result => { console.log(result); dispatch(fetchWeatherDailySucceeded(result.data.weatherInfor)) }) .catch(error => { dispatch(fetchWeatherDailyFailed()); }) Somehow the string doesn't recognize my injection and the url send to the server is the whole string with ${}
