From 174616534f37e140d5a4161216d60433371ef4ca Mon Sep 17 00:00:00 2001 From: Sarvesh Warge Date: Thu, 4 Mar 2021 13:27:09 +0530 Subject: [PATCH] fix a eslint error --- src/features/user/UserProfile/components/RegisterTrees.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); }