mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-24 05:42:33 +03:00
allowing draft save for reply
This commit is contained in:
parent
dbab8c2777
commit
fb973b9a46
@ -81,8 +81,8 @@ class EditorScreen extends Component {
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
const { isReply, isEdit } = this.props;
|
||||
if (!isReply && !isEdit) {
|
||||
const { isEdit } = this.props;
|
||||
if (!isEdit) {
|
||||
this._saveDraftToDB();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user