Skip to content

Commit 50868ff

Browse files
committed
fix(mobile/routes): drop stale settings Stack.Screen declaration
The <Stack.Screen name="settings" /> declaration pointed at the flat app/settings.tsx file, which was moved to app/settings/index.tsx when we added sub-routes. Expo Router logs a warning because no route with that exact name exists any more. The sub-routes register themselves via file-based routing so no explicit declaration is needed.
1 parent e207e6f commit 50868ff

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

apps/mobile/app/_layout.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ export default function RootLayout() {
7272
}}
7373
/>
7474
<Stack.Screen name="qibla" />
75-
<Stack.Screen name="settings" />
7675
</Stack>
7776
</Providers>
7877
</SafeAreaProvider>

0 commit comments

Comments
 (0)