Skip to content

Commit

Permalink
Fix tsc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapawar1 committed Oct 7, 2023
1 parent 6f02645 commit c38e12c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/app/auth/onboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ function OnboardingScreen() {

return (
<View>
{session && session.user ? (
<Account key={session.user.id} session={session} />
) : (
<Login />
)}
{session && session.user ? <Account key={session.user.id} /> : <Login />}
</View>
);
}
Expand Down

0 comments on commit c38e12c

Please sign in to comment.