diff --git a/apps/mobile/src/components/AddNotebookDialog/index.js b/apps/mobile/src/components/AddNotebookDialog/index.js index 4b1e32aa2..4d7ba17aa 100644 --- a/apps/mobile/src/components/AddNotebookDialog/index.js +++ b/apps/mobile/src/components/AddNotebookDialog/index.js @@ -88,13 +88,6 @@ export class AddNotebookDialog extends React.Component { this.description = null; this.currentInputValue = null; this.id = null; - this.setState({ - visible: false, - topics: [], - descFocused: false, - titleFocused: false, - editTopic: false - }); }; onDelete = index => { @@ -269,10 +262,13 @@ export class AddNotebookDialog extends React.Component { }} fwdRef={this.actionSheetRef} onClose={() => { - console.log('closing now'); this.close(); this.setState({ - visible: false + visible: false, + topics: [], + descFocused: false, + titleFocused: false, + editTopic: false }); }} statusBarTranslucent={false}