Related resources for two alert in react