From d5a92d3006561fd631279b68b23a1f8075b28bb8 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Wed, 6 Sep 2017 22:07:16 +0200 Subject: Add a button to delete the currently viewed room --- src/containers/modals/DeleteProfileModal.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/containers/modals/DeleteProfileModal.js') diff --git a/src/containers/modals/DeleteProfileModal.js b/src/containers/modals/DeleteProfileModal.js index 0108a1eb..709b4a92 100644 --- a/src/containers/modals/DeleteProfileModal.js +++ b/src/containers/modals/DeleteProfileModal.js @@ -4,9 +4,9 @@ import {closeDeleteProfileModal} from "../../actions/modals/profile"; import {deleteCurrentUser} from "../../actions/users"; import ConfirmationModal from "../../components/modals/ConfirmationModal"; -const NewSimulationModalComponent = ({visible, callback}) => ( +const DeleteProfileModalComponent = ({visible, callback}) => ( ); @@ -28,9 +28,9 @@ const mapDispatchToProps = dispatch => { }; }; -const NewSimulationModal = connect( +const DeleteProfileModal = connect( mapStateToProps, mapDispatchToProps -)(NewSimulationModalComponent); +)(DeleteProfileModalComponent); -export default NewSimulationModal; +export default DeleteProfileModal; -- cgit v1.2.3