Fix navigation: use /(tabs) instead of /(tabs)/beneficiaries
The main Beneficiaries tab is actually "index" not "beneficiaries". /(tabs) routes to index which shows the beneficiaries list. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
62f70853cb
commit
fc4567c690
@ -199,7 +199,7 @@ export default function EquipmentStatusScreen() {
|
|||||||
<View style={styles.header}>
|
<View style={styles.header}>
|
||||||
<TouchableOpacity style={styles.backButton} onPress={() => {
|
<TouchableOpacity style={styles.backButton} onPress={() => {
|
||||||
setIsNavigatingAway(true);
|
setIsNavigatingAway(true);
|
||||||
router.replace('/(tabs)/beneficiaries');
|
router.replace('/(tabs)');
|
||||||
}}>
|
}}>
|
||||||
<Ionicons name="arrow-back" size={24} color={AppColors.textPrimary} />
|
<Ionicons name="arrow-back" size={24} color={AppColors.textPrimary} />
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
@ -294,7 +294,7 @@ export default function EquipmentStatusScreen() {
|
|||||||
]}
|
]}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
setIsNavigatingAway(true);
|
setIsNavigatingAway(true);
|
||||||
router.replace('/(tabs)/beneficiaries');
|
router.replace('/(tabs)');
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Ionicons name="people" size={20} color={AppColors.white} />
|
<Ionicons name="people" size={20} color={AppColors.white} />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user