diff --git a/src/features/user/UserProfile/components/RegisterTrees.tsx b/src/features/user/UserProfile/components/RegisterTrees.tsx index 508c5eb460..906bb01eb8 100644 --- a/src/features/user/UserProfile/components/RegisterTrees.tsx +++ b/src/features/user/UserProfile/components/RegisterTrees.tsx @@ -136,7 +136,7 @@ export default function RegisterTrees({ } async function getUserLocation() { - let location = await getStoredConfig('loc'); + const location = await getStoredConfig('loc'); if (location) { setUserLocation([location.latitude, location.longitude]); }