Skip to content

Commit

Permalink
Change useEntityRecords as useEntityRecords to useEntityRecords
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed May 5, 2022
1 parent a526883 commit dd71452
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/block/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useDispatch, useSelect } from '@wordpress/data';
import {
useEntityBlockEditor,
useEntityProp,
useEntityRecord as useEntityRecord,
useEntityRecord,
} from '@wordpress/core-data';
import {
Placeholder,
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/categories/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { useInstanceId } from '@wordpress/compose';
import { InspectorControls, useBlockProps } from '@wordpress/block-editor';
import { __ } from '@wordpress/i18n';
import { pin } from '@wordpress/icons';
import { useEntityRecords as useEntityRecords } from '@wordpress/core-data';
import { useEntityRecords } from '@wordpress/core-data';

export default function CategoriesEdit( {
attributes: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* WordPress dependencies
*/
import { useEntityRecords as useEntityRecords } from '@wordpress/core-data';
import { useEntityRecords } from '@wordpress/core-data';

/**
* @typedef {Object} NavigationEntitiesData
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { Button, Modal } from '@wordpress/components';
import { __ } from '@wordpress/i18n';
import { useDispatch } from '@wordpress/data';
import { useEntityRecords as useEntityRecords } from '@wordpress/core-data';
import { useEntityRecords } from '@wordpress/core-data';
import { createBlock as create } from '@wordpress/blocks';
import { store as blockEditorStore } from '@wordpress/block-editor';

Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/page-list/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { useMemo, useState, memo } from '@wordpress/element';
import { useSelect } from '@wordpress/data';
import {
store as coreStore,
useEntityRecords as useEntityRecords,
useEntityRecords,
} from '@wordpress/core-data';

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { useSelect } from '@wordpress/data';
import {
store as coreStore,
useEntityRecords as useEntityRecords,
useEntityRecords,
} from '@wordpress/core-data';

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/list/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { useSelect } from '@wordpress/data';
import {
store as coreStore,
useEntityRecords as useEntityRecords,
useEntityRecords,
} from '@wordpress/core-data';
import { __, sprintf } from '@wordpress/i18n';
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/widgets/src/blocks/legacy-widget/edit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { brush as brushIcon } from '@wordpress/icons';
import { __ } from '@wordpress/i18n';
import { useState, useCallback } from '@wordpress/element';
import { useSelect } from '@wordpress/data';
import { useEntityRecord as useEntityRecord } from '@wordpress/core-data';
import { useEntityRecord } from '@wordpress/core-data';

/**
* Internal dependencies
Expand Down

0 comments on commit dd71452

Please sign in to comment.