Savinvadim1312/AirbnbClone

My doubts

Closed this issue · 1 comments

Parsing error: Unexpected token
   7 |   const navigation = useNavigation();
   8 |     return {
>  9 |          <View>
     |          ^
  10 |            <Pressable
  11 |           style = {styles.searchButton}
  12 |           onPress={() => console.warn('Search Btn clicked')}>

I got this error on VS Code, and I don't know how to fix it. It's preventing to run the project

on line 8, it should be return (. It's a round bracket.