Skip to content

Commit

Permalink
remove mo-prediction yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Konzisam committed Dec 9, 2024
1 parent 670f5e2 commit 6dd9c6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/form/MyForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ const MyForm: React.FC<MyFormProps> = ({ onSubmit, prediction, loading }) => (
</Formik>
{loading ? (
<p>Predicting...</p>
) : prediction !== null && (
) : prediction !== null ? (
<div className="result">
<h4>
Value: <span>{prediction}</span>
</h4>
</div>
)}
): null}
</div>
);

Expand Down

0 comments on commit 6dd9c6e

Please sign in to comment.