diff --git a/src/components/extensive/WizardForm/FormSummaryRow.tsx b/src/components/extensive/WizardForm/FormSummaryRow.tsx index c4829d802..1815b5ec9 100644 --- a/src/components/extensive/WizardForm/FormSummaryRow.tsx +++ b/src/components/extensive/WizardForm/FormSummaryRow.tsx @@ -213,11 +213,16 @@ const getSitePolygonData = (record: any) => { }; const getSiteBbox = (record: any) => { - const { data: sitePolygonBbox } = useGetV2SitesSiteBbox({ - pathParams: { - site: record.uuid + const { data: sitePolygonBbox } = useGetV2SitesSiteBbox( + { + pathParams: { + site: record?.uuid + } + }, + { + enabled: record?.uuid != null } - }); + ); return sitePolygonBbox?.bbox; };