Skip to content

Instantly share code, notes, and snippets.

@positiveko
Created May 19, 2021 12:52
Show Gist options
  • Save positiveko/ba335097624c523b90b3561fe6465a01 to your computer and use it in GitHub Desktop.
Save positiveko/ba335097624c523b90b3561fe6465a01 to your computer and use it in GitHub Desktop.
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