소스 검색

fix a bug

xy 7 년 전
부모
커밋
7bf6d225c0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/login/AccountConfig.js

+ 1 - 1
src/login/AccountConfig.js

@@ -185,7 +185,7 @@ class EditNickname extends Component {
                     <span className={'message-content'}>
                         <Input/>
                         <Button type={'primary'}><FormattedMessage id="save"/></Button>
-                        <Button onClick={() => this.props.cancelEdit(this.props.kind)}><FormattedMessage id="cancel"/></Button>
+                        <Button onClick={() => this.props.cancelEdit('nickname')}><FormattedMessage id="cancel"/></Button>
                     </span>
                 </Col>
             </Row>