diff --git a/source/frontend/src/features/mapSideBar/acquisition/AcquisitionContainer.tsx b/source/frontend/src/features/mapSideBar/acquisition/AcquisitionContainer.tsx index fea457b7c5..ee909c77fd 100644 --- a/source/frontend/src/features/mapSideBar/acquisition/AcquisitionContainer.tsx +++ b/source/frontend/src/features/mapSideBar/acquisition/AcquisitionContainer.tsx @@ -275,7 +275,12 @@ export const AcquisitionContainer: React.FunctionComponent; } diff --git a/source/frontend/src/features/mapSideBar/acquisition/AcquisitionView.tsx b/source/frontend/src/features/mapSideBar/acquisition/AcquisitionView.tsx index 99491944d6..1a04eef284 100644 --- a/source/frontend/src/features/mapSideBar/acquisition/AcquisitionView.tsx +++ b/source/frontend/src/features/mapSideBar/acquisition/AcquisitionView.tsx @@ -76,9 +76,6 @@ export const AcquisitionView: React.FunctionComponent = ( const history = useHistory(); const match = useRouteMatch(); const { file, lastUpdatedBy } = useContext(SideBarContext); - if (!!file && file?.fileType !== FileTypes.Acquisition) { - throw Error('Context file is not an acquisition file'); - } const acquisitionFile: Api_AcquisitionFile = file as Api_AcquisitionFile; // match for property menu routes - eg /property/1/ltsa