bonjour -> ouvriers

This commit is contained in:
trochas
2025-12-11 16:32:53 +01:00
parent 89c50827f8
commit 2be434e2cf
10 changed files with 90 additions and 81 deletions

View File

@@ -1,6 +1,7 @@
import { useChantier } from "@/app/ContextChantier";
import { Chantier } from "@/class/class";
import { getChantiers } from "@/services/ressourcesService";
import { useRouter } from "expo-router";
import { useEffect, useState } from "react";
import {
Dimensions,
@@ -34,7 +35,8 @@ export default function SelectChantier() {
const [search, setSearch] = useState("");
const [isOpen, setIsOpen] = useState(false);
const [chantiers, setChantiers] = useState<Chantier[]>([]);
const router = useRouter();
const AnimatedThemedView = Animated.createAnimatedComponent(ThemedView);
const AnimatedThemedText = Animated.createAnimatedComponent(ThemedText);
const AnimatedThemedButton = Animated.createAnimatedComponent(ThemedButton);
@@ -50,7 +52,8 @@ export default function SelectChantier() {
}
function onPressAddChantier(){
router.push("/(tabs)/addChantier")
setIsOpen(false)
}
useEffect(() => {
@@ -214,5 +217,8 @@ const styles = StyleSheet.create({
buttonAdd:{
borderRadius: 10,
marginBottom: 10,
height: 30,
alignItems: 'center',
justifyContent: 'center',
}
});