import React from "react" import SweetAlert from "react-bootstrap-sweetalert"; export default function Alert(props) { if (!props.alerts.get("show")) { return null } return ( ) }