Feat: Ajout de la page pour nouveau chantier ( A CORRIGER)
This commit is contained in:
@@ -40,11 +40,11 @@ export default function SelectChantier() {
|
||||
const router = useRouter();
|
||||
|
||||
|
||||
const AnimatedThemedView = Animated.createAnimatedComponent(ThemedView);
|
||||
const AnimatedThemedText = Animated.createAnimatedComponent(ThemedText);
|
||||
const AnimatedThemedButton = Animated.createAnimatedComponent(ThemedButton);
|
||||
const AnimatedThemedTextInput =
|
||||
Animated.createAnimatedComponent(ThemedTextInput);
|
||||
// cast to any to avoid strict Animated typing issues for custom props like `lvl`/`border`
|
||||
const AnimatedThemedView: any = Animated.createAnimatedComponent(ThemedView as any);
|
||||
const AnimatedThemedText: any = Animated.createAnimatedComponent(ThemedText as any);
|
||||
const AnimatedThemedButton: any = Animated.createAnimatedComponent(ThemedButton as any);
|
||||
const AnimatedThemedTextInput: any = Animated.createAnimatedComponent(ThemedTextInput as any);
|
||||
|
||||
async function onPressOpen(){
|
||||
setIsLoaded(false);
|
||||
@@ -57,7 +57,7 @@ export default function SelectChantier() {
|
||||
}
|
||||
|
||||
function onPressAddChantier(){
|
||||
router.push("/(tabs)/addChantier")
|
||||
router.push('/(tabs)/ajoute_chantier')
|
||||
setIsOpen(false)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user