From 4db3291ce5fd41d8e74b7e1ef1338135f1897bad Mon Sep 17 00:00:00 2001 From: krulod Date: Sun, 15 Oct 2023 01:31:33 +0300 Subject: [PATCH] revert(lens): dont unwrap records in parseAtoms This reverts commit 0ab08dd7277de849ce08a248ef4cb76a158b7c61. --- packages/lens/src/parseAtoms.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lens/src/parseAtoms.ts b/packages/lens/src/parseAtoms.ts index 2f9769a3b..895f6b597 100644 --- a/packages/lens/src/parseAtoms.ts +++ b/packages/lens/src/parseAtoms.ts @@ -23,7 +23,7 @@ export const parseAtoms = ( 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 }