Skip to content

Commit

Permalink
Update src/mutableAtom/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Daishi Kato <[email protected]>
  • Loading branch information
dmaskasky and dai-shi authored Oct 6, 2023
1 parent 456fbef commit 1d5e528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mutableAtom/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function mutableAtom<Value>(
*/
function wrapProxyState(proxyState: ProxyState<Value>) {
return new Proxy(proxyState, {
get: (target, property) => {
get(target, property) {
return target[property as keyof ProxyState<Value>]
},
set(target, property, value) {
Expand Down

0 comments on commit 1d5e528

Please sign in to comment.