Skip to content

Commit

Permalink
Merge pull request #59 from utmgdsc/bug/05/placeholder
Browse files Browse the repository at this point in the history
Bug/05/placeholder
  • Loading branch information
jasmineguru authored Dec 18, 2023
2 parents 432c954 + b5a7f56 commit 228871e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/screens/settings/updateHomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function UpdateHomeScreen(): JSX.Element {
<Text style={styles.label}>How many people live in your home?:</Text>
<TextInput
keyboardType="numeric"
placeholder= {"Currently:String(user?.household) L/100km"}
placeholder= {'Currently:'+String(user?.household)}
placeholderTextColor={Colors.LIGHTBLACK}
onChangeText={(number) => setNewOccupancy(parseInt(number))}
onFocus={handleFocus}
Expand All @@ -149,7 +149,7 @@ export default function UpdateHomeScreen(): JSX.Element {
<View style={styles.textInputBox}>
<Text style={styles.label}>Your New Fuel Efficiency:</Text>
<TextInput
placeholder={'Currently: '+ String(user?.fuel_efficiency)}
placeholder={'Currently: '+ String(user?.fuel_efficiency)+'L/100k'}
placeholderTextColor={Colors.LIGHTBLACK}
onChangeText={(number) => setnewFuelEfficeincy(parseFloat(number))}
onFocus={handleFocus3}
Expand Down

0 comments on commit 228871e

Please sign in to comment.