diff --git a/editor/components/provider/index.js b/editor/components/provider/index.js index cd0b9f6438d0f7..55dae4ccf00b36 100644 --- a/editor/components/provider/index.js +++ b/editor/components/provider/index.js @@ -52,9 +52,11 @@ class EditorProvider extends Component { // Assume that we don't need to initialize in the case of an error recovery. if ( ! props.recovery ) { this.store.dispatch( setupEditor( props.post, this.settings ) ); - if ( props.autosave ) { - this.store.dispatch( showAutosaveAlert( props.autosave ) ); - } + } + + // Display a notice if an autosave exists. + if ( props.autosave ) { + this.store.dispatch( showAutosaveAlert( props.autosave ) ); } }