diff --git a/samples/react-script-editor/src/webparts/scriptEditor/components/ScriptEditor.tsx b/samples/react-script-editor/src/webparts/scriptEditor/components/ScriptEditor.tsx index 4f1e91435..ff0698d8c 100644 --- a/samples/react-script-editor/src/webparts/scriptEditor/components/ScriptEditor.tsx +++ b/samples/react-script-editor/src/webparts/scriptEditor/components/ScriptEditor.tsx @@ -8,8 +8,8 @@ import { loadStyles } from '@microsoft/load-themed-styles'; require('./overrides.css'); export default class ScriptEditor extends React.Component { - constructor() { - super(); + constructor(props: IScriptEditorProps, state: any) { + super(props); this._showDialog = this._showDialog.bind(this); this._closeDialog = this._closeDialog.bind(this);