imports reorder
This commit is contained in:
committed by
GitHub
parent
be9696b8b5
commit
76223faa19
@@ -1,7 +1,8 @@
|
||||
import { icons } from "@/constants";
|
||||
import { Tabs } from "expo-router";
|
||||
import { Image, type ImageSourcePropType, View } from "react-native";
|
||||
|
||||
import { icons } from "@/constants";
|
||||
|
||||
const TabIcon = ({
|
||||
source,
|
||||
focused,
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { SignedIn, SignedOut, useUser } from "@clerk/clerk-expo";
|
||||
import { Link } from "expo-router";
|
||||
import { SignedIn, useUser } from "@clerk/clerk-expo";
|
||||
import { Text } from "react-native";
|
||||
import { SafeAreaView } from "react-native-safe-area-context";
|
||||
|
||||
@@ -11,14 +10,6 @@ const Home = () => {
|
||||
<SignedIn>
|
||||
<Text>Hello {user?.emailAddresses[0].emailAddress}</Text>
|
||||
</SignedIn>
|
||||
<SignedOut>
|
||||
<Link href="/sign-in">
|
||||
<Text>Sign In</Text>
|
||||
</Link>
|
||||
<Link href="/sign-up">
|
||||
<Text>Sign Up</Text>
|
||||
</Link>
|
||||
</SignedOut>
|
||||
</SafeAreaView>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user