Added a confirmation dialog for unsaved theme changes and removed unnecessary dialog close handling

Этот коммит содержится в:
hmhealey
2015-10-30 16:33:51 -04:00
родитель 738568e5a9
Коммит e56d21a920
10 изменённых файлов: 106 добавлений и 118 удалений

Просмотреть файл

@@ -11,9 +11,7 @@ export default class ConfirmModal extends React.Component {
}
handleConfirm() {
if (this.props.onConfirm) {
this.props.onConfirm();
}
this.props.onConfirm();
}
render() {