Skip to content

Commit

Permalink
first stabl telease for ios
Browse files Browse the repository at this point in the history
  • Loading branch information
roncodes committed Sep 23, 2021
1 parent 672b315 commit cfe9eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const useResourceStorage = (key, ResourceType, adapter, defaultValue) => {
}

if (value && isArray(value)) {
return [new Collection(value.map(r => new ResourceType(r, adapter))), setResource];
return [new Collection(value.map(attributes => new ResourceType(attributes, adapter))), setResource];
}

if (value) {
Expand Down

0 comments on commit cfe9eb9

Please sign in to comment.