Skip to content

Commit

Permalink
Fix/error
Browse files Browse the repository at this point in the history
  • Loading branch information
sjsjmine129 committed Jun 13, 2024
1 parent a9c7fe6 commit 8faf8b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/screens/detail/ReviewWriteScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default function ReviewWriteScreen(props) {
</Text>
<View style={styles.starContainer}>
{[...Array(5)].map((_, index) => (
<TouchableWithoutFeedback
<Pressable
key={index}
onPress={() => {
setRating(index + 1);
Expand All @@ -169,7 +169,7 @@ export default function ReviewWriteScreen(props) {
height="24"
style={{marginLeft: 2}}
/>
</TouchableWithoutFeedback>
</Pressable>
))}
</View>
</View>
Expand Down
1 change: 1 addition & 0 deletions src/screens/detail/StoreDetailScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ export default function StoreDetailScreen(props) {
<AnimatedButton
style={styles.contactButton}
onPress={() => {
console.log('리뷰 작성: ', restaurant.restaurant);
navigation.navigate('ReviewWrite', {
data: restaurant.restaurant,
});
Expand Down

0 comments on commit 8faf8b2

Please sign in to comment.