From df30312aee13f67959d7c21dad0c68cfb43012a5 Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Sat, 1 Feb 2025 18:44:49 -0500 Subject: [PATCH] oops --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 8ed670a..9141146 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ const state = new Proxy( { - fun: { awesome:true } + fun:true }, { set: (target, prop, value) => { @@ -11,5 +11,5 @@ const state = new Proxy( ) console.log(state); -state.fun.awesome = false +state.fun = false console.log(state);