From 9607b6e3a91a9eb70efcac9143b47ff313f9d0ad Mon Sep 17 00:00:00 2001 From: Kyle Ramachandran Date: Sat, 7 Dec 2024 16:08:15 -0800 Subject: [PATCH] fix lint error --- app/seasonal-planting-guide/page.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/seasonal-planting-guide/page.tsx b/app/seasonal-planting-guide/page.tsx index 3097013..77df21a 100644 --- a/app/seasonal-planting-guide/page.tsx +++ b/app/seasonal-planting-guide/page.tsx @@ -72,7 +72,9 @@ export default function SeasonalPlantingGuide() { useEffect(() => { if (profileReady && profileData) { setSelectedUsState({ - label: useTitleCase(profileData.us_state), + label: + profileData.us_state.charAt(0) + + profileData.us_state.slice(1).toLowerCase(), // can't use useTitleCase here, lint error value: profileData.us_state, }); }