@@ -48,6 +48,8 @@ export default App = ({ navigation }) => {
//connecting to API
fetch(url);
+ navigation.navigate('Pinpage'); // redirects back to PinPage
+
console.log(response);
};