File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class MarkdownNoteDetail extends React.Component {
58
58
}
59
59
60
60
componentWillReceiveProps ( nextProps ) {
61
- if ( nextProps . note . key !== this . props . note . key && ! this . isMovingNote ) {
61
+ if ( nextProps . note . key !== this . props . note . key && ! this . state . isMovingNote ) {
62
62
if ( this . saveQueue != null ) this . saveNow ( )
63
63
this . setState ( {
64
64
note : Object . assign ( { } , nextProps . note )
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ class SnippetNoteDetail extends React.Component {
68
68
}
69
69
70
70
componentWillReceiveProps ( nextProps ) {
71
- if ( nextProps . note . key !== this . props . note . key && ! this . isMovingNote ) {
71
+ if ( nextProps . note . key !== this . props . note . key && ! this . state . isMovingNote ) {
72
72
if ( this . saveQueue != null ) this . saveNow ( )
73
73
const nextNote = Object . assign ( {
74
74
description : ''
You can’t perform that action at this time.
0 commit comments