React
confirm 사용방법
jennyiscoding
2023. 1. 30. 15:44
const onLogoutClick = async () => {
if (window.confirm('로그아웃 하시겠습니까?')) {
await signOut();
}
};