Skip to content

Commit

Permalink
Remove dev artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Mar 17, 2022
1 parent 7215537 commit b0d121e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions packages/core-data/src/entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ export const getMethodName = (
* Loads the kind entities into the store.
*
* @param {string} kind Kind
*
* @return {(thunkArgs: object) => Promise<Array>} Entities
*/
export const getOrLoadEntitiesConfig = ( kind ) => async ( {
Expand Down
2 changes: 0 additions & 2 deletions packages/core-data/src/entity-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ const EMPTY_ARRAY = [];
*/
import { rootEntitiesConfig, additionalEntityConfigLoaders } from './entities';

/** @typedef {import('@wordpress/blocks').WPBlock} WPBlock */

const entityContexts = {
...rootEntitiesConfig.reduce( ( acc, loader ) => {
if ( ! acc[ loader.kind ] ) {
Expand Down
8 changes: 4 additions & 4 deletions packages/core-data/src/hooks/use-entity-records.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ interface Options {
/**
* Resolves the specified entity records.
*
* @param kind Kind of the requested entities.
* @param name Name of the requested entities.
* @param queryArgs HTTP query for the requested entities.
* @param options Hook options.
* @param kind Kind of the requested entities.
* @param name Name of the requested entities.
* @param queryArgs HTTP query for the requested entities.
* @param options Hook options.
* @example
* ```js
* import { useEntityRecord } from '@wordpress/core-data';
Expand Down

0 comments on commit b0d121e

Please sign in to comment.