Updated the constructor issue
This commit is contained in:
parent
b45be8a4a5
commit
0289ff3363
|
@ -8,8 +8,8 @@ import { loadStyles } from '@microsoft/load-themed-styles';
|
|||
require('./overrides.css');
|
||||
|
||||
export default class ScriptEditor extends React.Component<IScriptEditorProps, any> {
|
||||
constructor() {
|
||||
super();
|
||||
constructor(props: IScriptEditorProps, state: any) {
|
||||
super(props);
|
||||
|
||||
this._showDialog = this._showDialog.bind(this);
|
||||
this._closeDialog = this._closeDialog.bind(this);
|
||||
|
|
Loading…
Reference in New Issue