This commit is contained in:
tuanvu
2025-12-13 21:03:45 +01:00
parent abdeaa7d45
commit 15d7a517f5

View File

@@ -75,9 +75,11 @@ export default function GestionnaireRessource() {
lvl={1}
shadow={true}
style={{ padding: 10, borderRadius: 8, marginBottom: 10 }}
onPress={() => {
onPress={async () => {
setFilterType(t);
setShowFilterMenu(false);
const updatedChantiers = await getRessources();
setRessources(updatedChantiers)
}}
>
<ThemedText style={{ textAlign: "center" }}>{t}</ThemedText>