diff --git a/src/components/elements/Map-mapbox/MapControls/CheckPolygonControl.tsx b/src/components/elements/Map-mapbox/MapControls/CheckPolygonControl.tsx index 6006e968f..c8e1c9dfc 100644 --- a/src/components/elements/Map-mapbox/MapControls/CheckPolygonControl.tsx +++ b/src/components/elements/Map-mapbox/MapControls/CheckPolygonControl.tsx @@ -1,3 +1,4 @@ +import { useT } from "@transifex/react"; import classNames from "classnames"; import { useEffect, useState } from "react"; @@ -36,6 +37,7 @@ const CheckPolygonControl = (props: CheckSitePolygonProps) => { const [clickedValidation, setClickedValidation] = useState(false); const context = useSitePolygonData(); const sitePolygonData = context?.sitePolygonData; + const t = useT(); const { data: currentValidationSite, refetch: reloadSitePolygonValidation } = useGetV2TerrafundValidationSite< CheckedPolygon[] >( @@ -96,13 +98,13 @@ const CheckPolygonControl = (props: CheckSitePolygonProps) => { return (