Binding handleShown to constructor

Этот коммит содержится в:
Asaad Mahmood
2015-11-04 22:09:57 +05:00
родитель 2cf2b9b2a6
Коммит c58c4cde44
2 изменённых файлов: 2 добавлений и 0 удалений

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

@@ -12,6 +12,7 @@ export default class EditChannelModal extends React.Component {
this.handleUserInput = this.handleUserInput.bind(this);
this.handleClose = this.handleClose.bind(this);
this.onShow = this.onShow.bind(this);
this.handleShown = this.handleShown.bind(this);
this.state = {
header: '',

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

@@ -16,6 +16,7 @@ export default class RenameChannelModal extends React.Component {
this.displayNameKeyUp = this.displayNameKeyUp.bind(this);
this.handleClose = this.handleClose.bind(this);
this.handleShow = this.handleShow.bind(this);
this.handleShown = this.handleShown.bind(this);
this.handleSubmit = this.handleSubmit.bind(this);
this.state = {