Skip to content

Commit 5150f38

Browse files
committed
Fix typo in function name
1 parent 7795773 commit 5150f38

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/hooks/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ export function blockSupportSharing( blockName ) {
1717
*
1818
* @return {Object} Custom attributes for the sharing functionality.
1919
*/
20-
export function getBlockSharingAttributs() {
20+
export function getBlockSharingAttributes() {
2121
return multisiteSharedBlocksHooksData.attributes || {};
2222
}

src/hooks/registerSharedBlockAttributes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { assign, isEmpty } from 'lodash';
66
/**
77
* Internal dependencies
88
*/
9-
import { blockSupportSharing, getBlockSharingAttributs } from './helper';
9+
import { blockSupportSharing, getBlockSharingAttributes } from './helper';
1010

1111
/**
1212
* Merge our custom attributes with existing attributes of the block type.
@@ -19,7 +19,7 @@ import { blockSupportSharing, getBlockSharingAttributs } from './helper';
1919
* @return {any} New settings with the custom attributes for sharing.
2020
*/
2121
const registerSharedBlockAttributes = ( settings, name ) => {
22-
const sharedBlockAttributes = getBlockSharingAttributs();
22+
const sharedBlockAttributes = getBlockSharingAttributes();
2323

2424
if ( ! blockSupportSharing( name ) || isEmpty( sharedBlockAttributes ) ) {
2525
return settings;

0 commit comments

Comments
 (0)