Minor refactor
This commit is contained in:
parent
6f98aa06c4
commit
1f77048750
1 changed files with 1 additions and 2 deletions
|
@ -182,8 +182,7 @@ export default class EditMessageComposer extends React.Component {
|
|||
}
|
||||
|
||||
get _shouldSaveStoredEditorState() {
|
||||
return localStorage.getItem(`mx_edit_state_${this.props.editState.getEvent().getRoomId()}
|
||||
_${this.props.editState.getEvent().event.event_id}`) !== null;
|
||||
return localStorage.getItem(this._editorStateKey) !== null;
|
||||
}
|
||||
|
||||
_restoreStoredEditorState(partCreator) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue