Updated the constructor issue

This commit is contained in:
Harsha Vardhini 2020-03-12 11:22:23 +05:30
parent b45be8a4a5
commit 0289ff3363
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ import { loadStyles } from '@microsoft/load-themed-styles';
require('./overrides.css'); require('./overrides.css');
export default class ScriptEditor extends React.Component<IScriptEditorProps, any> { export default class ScriptEditor extends React.Component<IScriptEditorProps, any> {
constructor() { constructor(props: IScriptEditorProps, state: any) {
super(); super(props);
this._showDialog = this._showDialog.bind(this); this._showDialog = this._showDialog.bind(this);
this._closeDialog = this._closeDialog.bind(this); this._closeDialog = this._closeDialog.bind(this);