Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
kylezryr committed Dec 8, 2024
1 parent 8005b0c commit 9607b6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/seasonal-planting-guide/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
}
Expand Down

0 comments on commit 9607b6e

Please sign in to comment.