Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vidman22 committed May 9, 2021
1 parent 68cfd1d commit 30c949e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/containers/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const LandingPage = () => {
const [showConfirmation, setShowConfirmation] = useState(false);
const [showAnalysis, setShowAnalysis] = useState(false);
const [coresValid, setCoresValid] = useState(true);
const [showInfoModal, setShowInfoModal] = useState(true);
const [showInfoModal, setShowInfoModal] = useState(false);
const [form, setForm] = useState(formData);
const loadNumber = useRef<number>();
const nodeRef = useRef(null)
Expand Down Expand Up @@ -229,6 +229,7 @@ const LandingPage = () => {
}
return;
} else if (!hasParams) {
setShowInfoModal(true);
return;
}

Expand Down Expand Up @@ -298,7 +299,6 @@ const LandingPage = () => {

newForm[name] = newElement;
setForm(newForm);
validateForm();
};

const setVeryHighRiskFactorsHelper = useCallback(
Expand Down

0 comments on commit 30c949e

Please sign in to comment.