Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav authored and github-actions[bot] committed Oct 29, 2024
1 parent 582fe92 commit f6d165b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/mutable/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,7 @@ function wrap<T extends solid_store.StoreNode>(value: T): T {
const desc = Object.getOwnPropertyDescriptors(value);

for (const prop of Object.keys(value)) {
if (desc[prop]!.get)
Object.defineProperty(value, prop, { get: desc[prop]!.get.bind(proxy) });
if (desc[prop]!.get) Object.defineProperty(value, prop, { get: desc[prop]!.get.bind(proxy) });

if (desc[prop]!.set) {
const og = desc[prop]!.set;
Expand Down

0 comments on commit f6d165b

Please sign in to comment.