More specific type definition and adhering to code style better
This commit is contained in:
parent
3f1ca970d6
commit
d22617c422
13 changed files with 66 additions and 72 deletions
|
@ -58,12 +58,6 @@ export default class ConfirmUserActionDialog extends React.Component<IProps> {
|
|||
askReason: false,
|
||||
};
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
this.reasonField = null;
|
||||
}
|
||||
|
||||
public onOk = (): void => {
|
||||
let reason;
|
||||
if (this.reasonField) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue