Skip to content

Commit 348c49e

Browse files
author
justicepelteir
committed
comment out verbose reminder complete sign
1 parent 4c967ad commit 348c49e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

components/Reminder.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ import { CheckBox, Icon } from 'react-native-elements';
66
const Reminder = (props) => {
77
const [check, setCheck] = useState(false);
88

9-
const completionState = (check ? '- Complete' : '')
9+
// Ternary Operator - Verbose Reminder Complete Visual Signal
10+
// const completionState = (check ? 'Complete - ' : '')
1011

1112
return (
1213
<View style={styles.reminder}>
1314
<View style={styles.reminderLeft}>
1415
{/* <View style={styles.square}></View> */}
1516
<CheckBox checked={check} onPress={() => setCheck(!check)}/>
16-
<Text style={styles.reminderText}>{props.text} {completionState}</Text>
17+
<Text style={styles.reminderText}>{props.text}</Text>
18+
{/* <Text style={styles.reminderText}>{completionState}{props.text}</Text> */}
1719
</View>
1820
{/* <View style={styles.circular}></View> */}
1921
</View>

0 commit comments

Comments
 (0)