앱 루트에 Provider를 한 번 배치한 뒤 useAlert()의 alert와 confirm을 사용합니다. confirm은 사용자 선택을 Promise<boolean>으로 반환합니다.
useAlert()
alert
confirm
Promise<boolean>