Skip to content

Commit

Permalink
feat: adding updates
Browse files Browse the repository at this point in the history
  • Loading branch information
arunavabasucom committed Jan 10, 2024
1 parent 3908df9 commit 4041407
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/src/components/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export const Form: React.FunctionComponent<FormProps> = ({
spectra,
setSpectra,
}) => {
//zustand
const {
isNonEquilibrium,
toggleIsNonEquilibrium,
Expand All @@ -64,8 +63,9 @@ export const Form: React.FunctionComponent<FormProps> = ({
setDisableAddToPlotButton,
disableDownloadButton,
setDisableDownloadButton,
} = useFromStore(); //zustand
} = useFromStore();

//TODO - we need to make it global (zuatand)
const {
control,
handleSubmit,
Expand Down Expand Up @@ -374,7 +374,6 @@ export const Form: React.FunctionComponent<FormProps> = ({
) : null}
{showNonEquilibriumSwitch && (
<Grid xs={12}>
{/* <UseNonEquilibriumCalculationsSwitch /> */}
<UseNonEquilibriumCalculationsSwitch />
</Grid>
)}
Expand Down

0 comments on commit 4041407

Please sign in to comment.