Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
bwmp committed Jun 22, 2024
1 parent 633cbd9 commit 3ced815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/util/PresetUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export function fromBinary(encoded: string) {
export function loadPreset(p: string): Partial<typeof defaults> {
let version: number;
let preset: any;
let newPreset = defaults;
let newPreset = { ...defaults };
if (fromBinary(p) !== '') {
preset = JSON.parse(fromBinary(p));
version = preset.version;
Expand Down

0 comments on commit 3ced815

Please sign in to comment.