summaryrefslogtreecommitdiff
path: root/app/(tabs)/_layout.tsx
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-08-31 12:37:42 +0200
committerSanto Cariotti <santo@dcariotti.me>2024-08-31 12:37:42 +0200
commit819db6470099f9833d5a5027020c369d4b40e323 (patch)
tree62f68555b5e07443466fbb7e27bb44ce0ad5efe9 /app/(tabs)/_layout.tsx
parent509785982a1b4ac9ab145bac90d97be7044228c4 (diff)
Add boxs on alert page
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>
);
}