Skip to content

Commit

Permalink
enhance: Use latest normalizr denormalize export
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Jan 29, 2020
1 parent 3f77da2 commit 4a55ce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rest-hooks/src/state/selectors/useDenormalized.ts
Expand Up @@ -6,7 +6,7 @@ import { State } from '~/types';
import {
isEntity,
ReadShape,
denormalizeAndTracked,
denormalize,
DenormalizeNullable,
ParamsFromShape,
} from '~/resource';
Expand Down Expand Up @@ -63,7 +63,7 @@ export default function useDenormalized<
}

// second argument is false if any entities are missing
const [denormalized, entitiesFound, cache] = denormalizeAndTracked(
const [denormalized, entitiesFound, cache] = denormalize(
results,
schema,
entities,
Expand Down

0 comments on commit 4a55ce1

Please sign in to comment.