diff --git a/packages/editor/src/components/post-saved-state/index.js b/packages/editor/src/components/post-saved-state/index.js
index 1dc3f348e1e045..8ebc792d1e84c3 100644
--- a/packages/editor/src/components/post-saved-state/index.js
+++ b/packages/editor/src/components/post-saved-state/index.js
@@ -30,14 +30,11 @@ import { store as editorStore } from '../../store';
* @param {Object} props Component props.
* @param {?boolean} props.forceIsDirty Whether to force the post to be marked
* as dirty.
- * @param {?boolean} props.forceIsSaving Whether to force the post to be marked
- * as being saved.
* @param {?boolean} props.showIconLabels Whether interface buttons show labels instead of icons
* @return {import('@wordpress/element').WPComponent} The component.
*/
export default function PostSavedState( {
forceIsDirty,
- forceIsSaving,
showIconLabels = false,
} ) {
const [ forceSavedMessage, setForceSavedMessage ] = useState( false );
@@ -73,14 +70,14 @@ export default function PostSavedState( {
isNew: isEditedPostNew(),
isPending: 'pending' === getEditedPostAttribute( 'status' ),
isPublished: isCurrentPostPublished(),
- isSaving: forceIsSaving || isSavingPost(),
+ isSaving: isSavingPost(),
isSaveable: isEditedPostSaveable(),
isScheduled: isCurrentPostScheduled(),
hasPublishAction:
getCurrentPost()?._links?.[ 'wp:action-publish' ] ?? false,
};
},
- [ forceIsDirty, forceIsSaving ]
+ [ forceIsDirty ]
);
const { savePost } = useDispatch( editorStore );
diff --git a/packages/editor/src/store/actions.js b/packages/editor/src/store/actions.js
index 10f63f806113c4..61fcec148e4884 100644
--- a/packages/editor/src/store/actions.js
+++ b/packages/editor/src/store/actions.js
@@ -301,7 +301,7 @@ export const autosave =
};
export const __unstableSaveForPreview =
- ( { forceIsAutosaveable, forcePreviewLink } ) =>
+ ( { forceIsAutosaveable } ) =>
async ( { select, dispatch } ) => {
if (
( forceIsAutosaveable || select.isEditedPostAutosaveable() ) &&
@@ -317,7 +317,7 @@ export const __unstableSaveForPreview =
}
}
- return forcePreviewLink ?? select.getEditedPostPreviewLink();
+ return select.getEditedPostPreviewLink();
};
/**