diff --git a/src/App.js b/src/App.js index d03979a..5b49d6f 100644 --- a/src/App.js +++ b/src/App.js @@ -41,7 +41,7 @@ const App = () => { const loadPosts = async () => { const location = await locationUtils.getCurrentLocation(); - return await postApi.getPostsByCoords(location.lon, location.lat); + return await postApi.getPostsByCoords(location.lat, location.lon); } const addPost = async (title, text) => {