From 109adb4cb0bac065cdac833303c7274ec5489730 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Thu, 7 Feb 2019 19:25:41 -0800 Subject: [PATCH] remove unused prop --- components/Editor.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/Editor.js b/components/Editor.js index 016c238..3babc13 100644 --- a/components/Editor.js +++ b/components/Editor.js @@ -43,9 +43,8 @@ class Editor extends React.Component { super(props) this.state = { ...DEFAULT_SETTINGS, - loading: true, - code: props.content, - preset: DEFAULT_PRESET_ID + preset: DEFAULT_PRESET_ID, + loading: true } this.export = this.export.bind(this)