Why am I getting error 'carItem is declared but it's value is never read'? [Solved] | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Why am I getting error 'carItem is declared but it's value is never read'? [Solved]

Here is the code And the first line is what is producing that error despite carItem is defined in App component. >import carItem from "./components/carItem"; export default function App() { return ( <View style={styles.container}> <carItem /> </View> ) }

30th Dec 2020, 11:45 AM
Abhay
Abhay - avatar
1 Antwort
+ 1
Spentify thank you :)
30th Dec 2020, 12:05 PM
Abhay
Abhay - avatar