Skip to content

Commit

Permalink
fix js docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vraja-pro committed May 14, 2024
1 parent 4116db5 commit 1ec0763
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/js/src/redux/selectors/facebookEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const getFacebookImageSrc = state => get( state, "facebookEditor.image.sr
*
* @param {Object} state The state.
*
* @returns {integer} Facebook image id.
* @returns {number} Facebook image id.
*/
export const getFacebookImageId = state => get( state, "facebookEditor.image.id", "" );

Expand Down
6 changes: 3 additions & 3 deletions packages/js/src/redux/selectors/snippetEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const getSnippetEditorMode = state => get( state, "snippetEditor.mode", "
export const getSnippetEditorTitle = state => get( state, "snippetEditor.data.title", "" );

/**
* Gets the snippet editor title without templates.
* Gets the snippet editor custom title for the current post.
*
* @param {Object} state The state object.
*
Expand Down Expand Up @@ -71,11 +71,11 @@ export const getSnippetEditorTitleWithTemplate = state => get( state, "snippetEd
export const getSnippetEditorDescription = state => get( state, "snippetEditor.data.description", "" );

/**
* Gets the snippet editor Description without templates.
* Gets the snippet editor custom description for the current post.
*
* @param {Object} state The state object.
*
* @returns {string} The snippet editor Description.
* @returns {string} The snippet editor custom description.
*/
export const getCustomSnippetEditorDescription = state => {
const description = getSnippetEditorDescription( state );
Expand Down
2 changes: 1 addition & 1 deletion packages/js/src/redux/selectors/twitterEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const getTwitterImageSrc = state => get( state, "twitterEditor.image.src"
*
* @param {Object} state The state.
*
* @returns {integer} Twitter image id.
* @returns {number} Twitter image id.
*/
export const getTwitterImageId = state => get( state, "twitterEditor.image.id", "" );

Expand Down

0 comments on commit 1ec0763

Please sign in to comment.