Skip to content

Commit

Permalink
Fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Dec 5, 2023
1 parent 3f08f5c commit 6393850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/edit-post/src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,9 @@ export const setIsListViewOpened =
* @deprecated
*/
export function setIsEditingTemplate() {
deprecated( "select( 'core/edit-post' ).setIsEditingTemplate", {
deprecated( "dispatch( 'core/edit-post' ).setIsEditingTemplate", {
since: '6.5',
alternative: "select( 'core/editor').setRenderingMode",
alternative: "dispatch( 'core/editor').setRenderingMode",
} );
return { type: 'NOTHING' };
}
Expand Down

0 comments on commit 6393850

Please sign in to comment.