// it has style inside index.scss ---> // Start Alert Component && end Alert Component
import React from "react";
import { alert } from "../../redux/actions";
import { connect } from "react-redux";
function Alert(props) {
props.confirmAlert();
return (
{/* 1 */}
{/* 2 */}
{/* 3 */}
{/* 4 */}
{/* 5 */}
{/* 6 */}
{/* 7 */}
{/* 8 */}
{/* 9 */}
{/* 10 */}
);
}
const mapStateToProps = (state) => ({});
const mapDispatchToProps = {
confirmAlert: alert.confirm,
};
export default connect(mapStateToProps, mapDispatchToProps)(Alert);