Created
July 6, 2020 15:09
-
-
Save coryhouse/b9acbf8469515c5097f55380d153081e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function getUsers() { | |
return fetch(`${process.env.REACT_APP_API_BASE_URL}users`).then(response => | |
response.json() | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment