Skip to content

Commit

Permalink
Fix bug in `ConfigMirror['setValue'].
Browse files Browse the repository at this point in the history
I don't know why we were half asleep in
#66.  But set
serialized value in this PR needs to be deleted.
  • Loading branch information
Gnuxie committed Dec 9, 2024
1 parent 1f286bb commit e6f7cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config/ConfigMirror.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class StandardConfigMirror<TConfigSchema extends TObject>
}
const newConfig = {
...config,
[key]: TBValue.Decode(schema, value),
[key]: value,
};
return Ok(newConfig as EDStatic<TConfigSchema>);
}
Expand Down

0 comments on commit e6f7cb0

Please sign in to comment.