Created
May 19, 2021 12:52
-
-
Save positiveko/ba335097624c523b90b3561fe6465a01 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
const axiosBookmark = async () => { | |
const sendingUrls = [ | |
getDongBookmark(), | |
getLegalDongBookmark(), | |
getKakaoBookmark(), | |
getHospitalBookmark(), | |
]; | |
const response = await Promise.allSettled(sendingUrls); | |
console.log(response); | |
}; | |
useEffect(() => { | |
axiosBookmark(); | |
}, []); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment