Skip to content

Commit

Permalink
refactor: spectra calibration buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-musallam committed Mar 5, 2024
1 parent 16a0132 commit 9f5bdd0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/component/panels/multipleAnalysisPanel/AlignSpectra.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as Yup from 'yup';
import { REFERENCES } from '../../../data/constants/References';
import { CalibrateOptions } from '../../../data/data1d/Spectrum1D/getReferenceShift';
import { useDispatch } from '../../context/DispatchContext';
import Button from '../../elements/Button';
import ActionButtons from '../../elements/ActionButtons';
import { InputStyle } from '../../elements/Input';
import Label, { LabelStyle } from '../../elements/Label';
import Message from '../../elements/Message';
Expand Down Expand Up @@ -202,12 +202,7 @@ function AlignSpectra({ onClose = () => null, nucleus }: AlignSpectraProps) {
</Label>
</div>
<div className="footer">
<Button.Done
style={{ padding: '5px 14px', fontSize: 14 }}
onClick={submitForm}
>
Done
</Button.Done>
<ActionButtons onDone={submitForm} onCancel={onClose} />
</div>
</>
)}
Expand Down

0 comments on commit 9f5bdd0

Please sign in to comment.