Skip to content

Commit

Permalink
Update packages/core/src/storage/namespace.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Francisco <fg@frang.io>
  • Loading branch information
ericglau and frangio authored Sep 26, 2023
1 parent 14ef3df commit e58d73c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/core/src/storage/namespace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,8 @@ function getNamespacedStorageItems(
);

if (layoutMember?.offset !== undefined && layoutMember?.slot !== undefined) {
item = {
...item,
offset: layoutMember.offset,
slot: layoutMember.slot,
};
item.offset = layoutMember.offset;
item.slot = layoutMember.slot;
}

storageItems.push(item);
Expand Down

0 comments on commit e58d73c

Please sign in to comment.