Created
June 1, 2020 08:10
-
-
Save xmelsky/fa0943ee17ebb121a46ca741c6b21881 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import axios from "axios"; | |
| function getIcons() { | |
| return axios | |
| .get("https://young-cliffs-64944.herokuapp.com/icons") | |
| .then(res => { | |
| return res.data.data; | |
| }); | |
| } | |
| export default getIcons; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment