Skip to content

Commit

Permalink
revert(lens): dont unwrap records in parseAtoms
Browse files Browse the repository at this point in the history
This reverts commit 0ab08dd.
  • Loading branch information
krulod committed Oct 20, 2023
1 parent f6a81b2 commit 4db3291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lens/src/parseAtoms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const parseAtoms = <Value>(

if (isRec(value)) {
const res = {} as Rec
for (const k in value) res[k] = parseAtoms(ctx, value[k])
for (const k in value) res[k] = value[k]
return res as any
}

Expand Down

0 comments on commit 4db3291

Please sign in to comment.