Skip to content

Commit

Permalink
Prevent presets on scratches from being set to null when options chan…
Browse files Browse the repository at this point in the history
…ge (#962)

maybe
  • Loading branch information
ethteck authored Feb 14, 2024
1 parent a915c87 commit 29cf418
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frontend/src/components/compiler/CompilerOpts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ export default function CompilerOpts({ platform, value, onChange, diffLabel, onD
compiler,
compiler_flags: opts,
diff_flags: diff_opts,
preset: undefined,
})
}

Expand All @@ -192,7 +191,6 @@ export default function CompilerOpts({ platform, value, onChange, diffLabel, onD
compiler,
compiler_flags: opts,
diff_flags: diff_opts,
preset: undefined,
})
}

Expand All @@ -201,7 +199,6 @@ export default function CompilerOpts({ platform, value, onChange, diffLabel, onD
compiler,
compiler_flags: opts,
diff_flags: diff_opts,
preset: undefined,
})
}

Expand All @@ -218,7 +215,6 @@ export default function CompilerOpts({ platform, value, onChange, diffLabel, onD
const setLibraries = (libraries: Library[]) => {
onChange({
libraries,
preset: undefined,
})
}

Expand Down

0 comments on commit 29cf418

Please sign in to comment.