prettier
This commit is contained in:
parent
c1ba1ceb7c
commit
71a5f72381
2
App.tsx
2
App.tsx
@ -2,8 +2,8 @@ import React, { useEffect } from "react";
|
||||
import { ClientProvider, useAuthHeader } from "./graphql/client";
|
||||
import AppNavigator from "./navigation/app-navigator";
|
||||
|
||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||
import { DEV_USER_ID } from "@env";
|
||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||
|
||||
// TODO: move to different file?
|
||||
const SetAuthHeaderBasedOnEnv = () => {
|
||||
|
@ -41,7 +41,7 @@ export default function Login({ navigation }) {
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
console.log(authHeader.value)
|
||||
console.log(authHeader.value);
|
||||
|
||||
return (
|
||||
<TouchableWithoutFeedback onPress={() => Keyboard.dismiss()}>
|
||||
@ -97,7 +97,11 @@ export default function Login({ navigation }) {
|
||||
<Text>Phone number: {user?.phoneNumber}</Text>
|
||||
|
||||
<SignOutButton />
|
||||
<Button color="orange" title="Go to app" onPress={() => navigation.push("Tabs")} />
|
||||
<Button
|
||||
color="orange"
|
||||
title="Go to app"
|
||||
onPress={() => navigation.push("Tabs")}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</View>
|
||||
|
Loading…
Reference in New Issue
Block a user