Skip to content

Commit

Permalink
Fix incorrect return type
Browse files Browse the repository at this point in the history
  • Loading branch information
david-szabo97 committed Apr 21, 2021
1 parent e836034 commit 66af876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blocks/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export function getBlockVariations( state, blockName, scope ) {
* @param {Object} attributes Block attributes used to determine active variation.
* @param {WPBlockVariationScope} [scope] Block variation scope name.
*
* @return {(WPBlockVariation|void)} Active block variation.
* @return {(WPBlockVariation|undefined)} Active block variation.
*/
export function getActiveBlockVariation( state, blockName, attributes, scope ) {
const variations = getBlockVariations( state, blockName, scope );
Expand Down

0 comments on commit 66af876

Please sign in to comment.