Skip to content

Commit

Permalink
Fixed problem by using react-native-community/cli#2279
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewWladis committed Apr 25, 2024
1 parent d73902e commit ea9c9fe
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Bracelet.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,15 @@ function Bracelet() {
const beadData = returnBead(bead);
return (
beadData.text !== 'none' ? (
<View key={index} style={[styles.bead, { backgroundColor: beadData.color }]}>
<Text style={[styles.beadText, { fontFamily: beadData.font }]}>{beadData.text}</Text>
</View>
beadData.font !== 'none' ? (
<View key={index} style={[styles.bead, { backgroundColor: beadData.color }]}>
<Text style={[styles.beadText, { fontFamily: beadData.font }]}>{beadData.text}</Text>
</View>
) : (
<View key={index} style={[styles.bead, { backgroundColor: beadData.color }]}>
<Text style={styles.beadText}>{beadData.text}</Text>
</View>
)
) : (
<View key={index} style={[styles.beadBlank, { backgroundColor: beadData.color }]}>
</View>
Expand Down

0 comments on commit ea9c9fe

Please sign in to comment.