1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-28 00:52:20 +00:00

reworking architecture of code

This commit is contained in:
Kevin Nadro
2017-05-29 00:30:41 -05:00
committed by asmsuechan
parent cd421c4662
commit 41a04aa3f1
3 changed files with 3 additions and 8 deletions

View File

@@ -30,10 +30,7 @@ class MarkdownNoteDetail extends React.Component {
content: ''
}, props.note),
isLockButtonShown: false,
isLocked: false,
fullScreen: false,
widthOfNoteDetail: 0,
widthOfMainBody: 0
isLocked: false
}
this.dispatchTimer = null

View File

@@ -48,10 +48,7 @@ class SnippetNoteDetail extends React.Component {
description: ''
}, props.note, {
snippets: props.note.snippets.map((snippet) => Object.assign({}, snippet))
}),
fullScreen: false,
widthOfNoteDetail: 0,
widthOfMainBody: 0
})
}
}