From b4d31956b381ddd6539195760243f6fa68a0e7a7 Mon Sep 17 00:00:00 2001 From: Shreyas Devalapurkar Date: Mon, 3 May 2021 12:03:00 -0700 Subject: [PATCH] format fix --- app/src/features/projects/view/ProjectSurveysListPage.tsx | 5 ++++- app/src/features/surveys/CreateSurveyPage.tsx | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/src/features/projects/view/ProjectSurveysListPage.tsx b/app/src/features/projects/view/ProjectSurveysListPage.tsx index 1db0ac86e8..a31410b80c 100644 --- a/app/src/features/projects/view/ProjectSurveysListPage.tsx +++ b/app/src/features/projects/view/ProjectSurveysListPage.tsx @@ -42,7 +42,10 @@ const ProjectSurveysListPage: React.FC = (props) = Surveys - diff --git a/app/src/features/surveys/CreateSurveyPage.tsx b/app/src/features/surveys/CreateSurveyPage.tsx index 2a93552182..dbbd8588b5 100644 --- a/app/src/features/surveys/CreateSurveyPage.tsx +++ b/app/src/features/surveys/CreateSurveyPage.tsx @@ -69,11 +69,11 @@ const CreateSurveyPage = () => { const [codes, setCodes] = useState(); const history = useHistory(); - + const handleCancel = () => { history.push(`/projects/${projectWithDetails?.id}/surveys`); }; - + useEffect(() => { const getCodes = async () => { const codesResponse = await biohubApi.codes.getAllCodeSets();