import { Stack } from 'expo-router'; import { useRouter } from 'expo-router'; import { AppBackButton } from '../../../../src/components/common'; import { colors } from '../../../../src/theme'; const headerOptions = { headerStyle: { backgroundColor: colors.background.paper }, headerTintColor: colors.text.primary, headerTitleStyle: { fontWeight: '600' as const }, headerShadowVisible: false, headerBackTitle: '', }; export default function ProfileStackLayout() { const router = useRouter(); return ( router.back()} />, }} > ); }