Skip to content

Commit d728483

Browse files
committed
Quick Wins First
1 parent 95455e0 commit d728483

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

app/(tabs)/_layout.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,6 @@ export default function TabLayout() {
3131
href: null,
3232
}}
3333
/>
34-
<Tabs.Screen
35-
name="habits"
36-
options={{
37-
title: 'Habits',
38-
tabBarIcon: ({ color }) => <Ionicons name="refresh-outline" size={28} color={color} />,
39-
href: '/habits',
40-
}}
41-
/>
4234
<Tabs.Screen
4335
name="quick-wins"
4436
options={{
@@ -47,6 +39,14 @@ export default function TabLayout() {
4739
href: '/quick-wins',
4840
}}
4941
/>
42+
<Tabs.Screen
43+
name="habits"
44+
options={{
45+
title: 'Habits',
46+
tabBarIcon: ({ color }) => <Ionicons name="refresh-outline" size={28} color={color} />,
47+
href: '/habits',
48+
}}
49+
/>
5050
<Tabs.Screen
5151
name="workouts"
5252
options={{

app/(tabs)/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Platform } from 'react-native';
33

44
export default function Index() {
55
// On web, check for OAuth error parameters before redirecting
6-
// This check happens synchronously during render to prevent redirect to /habits
6+
// This check happens synchronously during render to prevent redirect to /quick-wins
77
if (Platform.OS === 'web' && typeof window !== 'undefined') {
88
const searchParams = new URLSearchParams(window.location.search);
99
const hash = window.location.hash;
@@ -27,5 +27,5 @@ export default function Index() {
2727
}
2828
}
2929

30-
return <Redirect href="/habits" />;
30+
return <Redirect href="/quick-wins" />;
3131
}

0 commit comments

Comments
 (0)