Skip to content

Commit

Permalink
Chore: Fix: Wrong JSDOC for an action return. (#60786)
Browse files Browse the repository at this point in the history
Co-authored-by: jorgefilipecosta <jorgefilipecosta@git.wordpress.org>
Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org>
  • Loading branch information
3 people committed Apr 16, 2024
1 parent d9f628a commit afd5df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference-guides/data/data-core-edit-site.md
Expand Up @@ -371,7 +371,7 @@ Resolves the template for a page and displays both. If no path is given, attempt

_Returns_

- `number`: The resolved template ID for the page route.
- `Object`: Action object.

### setTemplate

Expand Down
2 changes: 1 addition & 1 deletion packages/edit-site/src/store/actions.js
Expand Up @@ -222,7 +222,7 @@ export function setEditedPostContext( context ) {
*
* @deprecated
*
* @return {number} The resolved template ID for the page route.
* @return {Object} Action object.
*/
export function setPage() {
deprecated( "dispatch( 'core/edit-site' ).setPage", {
Expand Down

0 comments on commit afd5df0

Please sign in to comment.