Skip to content

Commit

Permalink
comments removed
Browse files Browse the repository at this point in the history
  • Loading branch information
arunavabasucom committed Aug 4, 2022
1 parent a300deb commit b8695a4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions frontend/src/components/CalcSpectrum.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,8 @@ export const CalcSpectrum: React.FC = () => {
setError(message);
};
const onSubmit = async (data: FormValues): Promise<void> => {
// let modeLabel;
if (useSlit == true) {
if (data.mode === "radiance_noslit") {
// modeLabel = "Absorbance";
// data.units = "-ln(I/I0)";
data.mode = "radiance";
}
if (data.mode === "transmittance_noslit") {
Expand Down

0 comments on commit b8695a4

Please sign in to comment.