2ec2a78469
Mobile (Expo SDK 53) : - supprime victory-native et react-native-svg (dépendances mortes, non importées) qui empêchaient l'installation (ETARGET sur svg@~16.0.0 + conflit de peer reanimated/skia) - ajoute les peers manquants expo-constants et expo-linking (requis par expo-router) - aligne expo-router, react-native et react-native-screens sur le SDK 53 - ajoute package-lock.json (installs reproductibles) - expo-doctor 18/18, tsc sans erreur Frontend (Next.js) : - EmotionChart : remplace 4 `any` par les types Recharts (ValueType/NameType) - EditSaisieModal : remplace le setState dans useEffect par l'ajustement d'état pendant le rendu (pattern recommandé par React) - tsc, eslint et build de production sans erreur Backend : 15 tests passent (Auth, Admin, Tracker, RGPD). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
18 lines
518 B
TypeScript
18 lines
518 B
TypeScript
import { Stack } from 'expo-router';
|
|
import { Colors } from '@/lib/colors';
|
|
|
|
export default function InfoLayout() {
|
|
return (
|
|
<Stack
|
|
screenOptions={{
|
|
headerStyle: { backgroundColor: Colors.white },
|
|
headerTitleStyle: { fontWeight: '700', color: Colors.black },
|
|
headerTintColor: Colors.secondary,
|
|
}}
|
|
>
|
|
<Stack.Screen name="index" options={{ title: 'Infos' }} />
|
|
<Stack.Screen name="[slug]" options={{ title: '', headerBackTitle: 'Retour' }} />
|
|
</Stack>
|
|
);
|
|
}
|