File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 = { {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Platform } from 'react-native';
33
44export 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}
You can’t perform that action at this time.
0 commit comments