summaryrefslogtreecommitdiff
path: root/app/(tabs)/_layout.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/(tabs)/_layout.tsx')
-rw-r--r--app/(tabs)/_layout.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/(tabs)/_layout.tsx b/app/(tabs)/_layout.tsx
index 97e98de..a0a2bba 100644
--- a/app/(tabs)/_layout.tsx
+++ b/app/(tabs)/_layout.tsx
@@ -24,7 +24,7 @@ export default function TabLayout() {
}}
/>
<Tabs.Screen
- name="alerts"
+ name="alerts/index"
options={{
title: 'Alerts',
tabBarIcon: ({ color, focused }) => (
@@ -32,6 +32,10 @@ export default function TabLayout() {
),
}}
/>
+ <Tabs.Screen
+ name="alerts/[id]"
+ options={{href: null}}
+ />
</Tabs>
);
}